aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2015-07-21Don't call xdg-open at the end of CILoïc Hoguin
2015-07-21Update erlang.mk and remove .app.srcLoïc Hoguin
Everything is now directly generated from the Makefile. Also properly update dependencies.
2015-06-11Add HTTP/2 support preview2.0.0-pre.2Loïc Hoguin
This commit is not only an early preview of HTTP/2, it is an early preview of the new Cowboy architecture that will be presented tomorrow in my talk. If you have found it before the talk, great! It's not complete so you better go watch the talk anyway.
2015-05-06Update Cowlib to 1.3.0Juan Puig
2015-05-05Add rfc7230 test suite and update others to recent GunLoïc Hoguin
This is a large commit. The rfc7230 test suite adds many tests from the RFC7230 document. Gun has been updated quite a bit recently, which broke the Cowboy suites. This is now fixed with this commit. A new hook onfirstrequest has been added. It was very useful during debugging of the test suites. The initial process code has changed a little; more changes are expected with the switch to maps for options.
2015-03-06Update Cowlib to 1.2.0; adds Websocket permessage-deflateLoïc Hoguin
The Websocket text frames should also be less resource intensive to validate now, with a binary concatenation avoided.
2015-02-16Add +warn_untyped_record to the build optionsLoïc Hoguin
2015-02-16Use cow_ws for the Websocket parsing codeLoïc Hoguin
Updates Cowlib to 1.1.0
2015-02-03Use cowlib masterLoïc Hoguin
2014-10-04Add a commented line to enable dialyze for tests in the MakefileLoïc Hoguin
2014-08-01Update to erlang.mk 1.0.0Loïc Hoguin
2014-07-06Provide installable man pagesLoïc Hoguin
make docs: generate Markdown and man pages in doc/ make install-docs: install man pages to be usable directly Docs are generated from the ezdoc files in doc/src/.
2014-06-10Update Ranch to 0.10.0Loïc Hoguin
2014-06-10Update cowlib to 0.6.2Loïc Hoguin
Fixes parsing of Google Analytics cookies.
2014-04-26Make loop handlers work with SPDYLoïc Hoguin
Adds a loop_handler test suite that runs all tests under HTTP, HTTPS, SPDY each with and without the compress option enabled. Fixes output filtering that used to filter more than it should have. This forces us to parse the string sent by the emulator, which means it's probably not perfect yet. But it should at least not hide errors we want to see. Fix a crash in the output filtering code that entirely disabled output. Now when there is a crash the normal tty output is restored. Handlers are now in test/handlers/ as they can be reused between suites. Only generate a single certificate for the whole ct run to speed things up when we got many different test groups each needing certificates.
2014-04-21Silence expected test error reports from the console outputLoïc Hoguin
The errors are still logged by common_test to the report it creates. The process that is going to crash has to call cowboy_error_h:ignore/3 with the MFA where the crash is expected to occur for it to be ignored. Gun retry failures are also ignored. Only unexpected crashes are printed.
2014-04-20Enable Autobahn Test Suite by defaultLoïc Hoguin
Includes a variety of small changes that are a first step to improving the test system heavily.
2014-03-27Update cowlib to 0.6.1Loïc Hoguin
2014-03-27Add +warn_missing_spec and fix specsLoïc Hoguin
2014-03-23Update cowlib to 0.6.0Loïc Hoguin
2014-02-19Update cowlib to 0.5.1 to fix multipart issuesLoïc Hoguin
2014-02-06Add and document the new multipart codeLoïc Hoguin
The old undocumented API is removed entirely. While a documentation exists for the new API, it will not be considered set in stone until further testing has been performed, and a file upload example has been added. The new API should be a little more efficient than the old API, especially with smaller messages.
2013-11-14Update Ranch to 0.9.0Loïc Hoguin
2013-11-08Optimize query string parsingLoïc Hoguin
* Parsing code was moved to cowlib: cowboy_qs:parse_qs/1 * A function was added to build query strings: cowboy_qs:qs/1 * Also added cowboy_qs:urlencode/1 and cowboy_qsurldecode/1
2013-11-02Review, improve and document the static files handlerLoïc Hoguin
Changes include: * Much simplified route configuration. * Etag generation is now enabled by default. * Web mimetypes are now detected by default. A bigger list of mimetypes can be detected without any additional library. * Mimetypes can no longer be specified as a list. Copying this list for new connections is too costy. You can easily convert it into a function and pass that function to the handler instead. * You can however specify a single hardcoded mimetype. Mostly useful when serving a single file, like an index.html file, to avoid extra operations. * Specifying a path as a list of tokens is not possible anymore. Use either a binary or a string. * Using a private directory will not work if the application was not started properly. Cowboy will not attempt to find the location of this directory if the VM doesn't know it, as this caused issues in some setups. * Overall the code has been much simplified and clarified, and of course has now been documented.
2013-10-23Move cookie parsing/building code to cowlibLoïc Hoguin
The code for parsing has also been rewritten to be more efficient and to be able to handle cookie values with space inside them properly. Update cowlib to 0.2.0.
2013-09-04Make cowlib a proper dependencyLoïc Hoguin
Start moving a few functions from Cowboy into cowlib.
2013-09-02Add request body support for SPDYLoïc Hoguin
And various other improvements following the addition of two tests. New dependency cowlib that will gradually receive most of the parse code from SPDY but also HTTP and its headers.
2013-08-31Use gun to test the SPDY implementation in CowboyLoïc Hoguin
2013-08-24Update Ranch to 0.8.5Loïc Hoguin
2013-06-20Update Ranch to 0.8.4Loïc Hoguin
2013-05-30Add experimental and incomplete SPDY supportLoïc Hoguin
The SPDY connection processes are also supervisors. Missing: * sendfile support * request body reading support
2013-05-16Update Ranch to 0.8.3Loïc Hoguin
2013-05-01Update Ranch to 0.8.2 and use ct_helper for testing SSLLoïc Hoguin
2013-05-01Spin-off erlang.mk as a separate projectLoïc Hoguin
2013-04-30Make getting deps a function in the MakefileLoïc Hoguin
2013-04-26Removed asserts from unit testsEgobrain
2013-04-22Reorganize the websocket test suiteLoïc Hoguin
We now have the suite specific modules in the data folder. Compilation is performed by the Makefile instead of ct_run.
2013-04-12Update Ranch to 0.8.1Loïc Hoguin
2013-04-03Update Ranch to 0.8.0Loïc Hoguin
2013-03-06Update Ranch to 0.6.2Loïc Hoguin
2013-03-02Allow overriding ERLC_OPTSLoïc Hoguin
2013-03-02Disable cover in tests by defaultLoïc Hoguin
2013-03-02Disable the shell for ct_runLoïc Hoguin
2013-02-21Added warn compile options. Fixed compile warnings.Egobrain
2013-02-20Merge branch 'fix_ranch_vsn' of git://github.com/nevar/cowboyLoïc Hoguin
2013-02-20Compile cowboy_sub_protocol behaviour before modules using itLoïc Hoguin
2013-02-18Fix ranch version in MakefileSlava Yurin
2013-02-06Makefile: separate deps compilation from app compilationLoïc Hoguin
2013-01-29Makefile verbosity tweaksLoïc Hoguin