aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
AgeCommit message (Collapse)Author
2016-12-02Update Erlang.mkLoïc Hoguin
2016-11-05Partially update manual for the cowboy_reqLoïc Hoguin
Only the access functions have been modified so far.
2016-03-05Initial commit with connection/streamsLoïc Hoguin
Breaking changes with previous commit. This is a very large change, and I am giving up on making a single commit that fixes everything. More commits will follow slowly adding back features, introducing new tests and fixing the documentation. This change contains most of the work toward unifying the interface for handling both HTTP/1.1 and HTTP/2. HTTP/1.1 connections are now no longer 1 process per connection; instead by default 1 process per request is also created. This has a number of pros and cons. Because it has cons, we also allow users to use a lower-level API that acts on "streams" (requests/responses) directly at the connection process-level. If performance is a concern, one can always write a stream handler. The performance in this case will be even greater than with Cowboy 1, although all the special handlers are unavailable. When switching to Websocket, after the handler returns from init/2, Cowboy stops the stream and the Websocket protocol takes over the connection process. Websocket then calls websocket_init/2 for any additional initialization such as timers, because the process is different in init/2 and websocket_*/* functions. This however would allow us to use websocket_init/2 for sending messages on connect, instead of sending ourselves a message and be subject to races. Note that websocket_init/2 is optional. This is all a big change and while most of the tests pass, some functionality currently doesn't. SPDY is broken and will be removed soon in favor of HTTP/2. Automatic compression is currently disabled. The cowboy_req interface probably still have a few functions that need to be updated. The docs and examples do not refer the current functionality anymore. Everything will be fixed over time. Feedback is more than welcome. Open a ticket!
2016-01-15Update Erlang.mkLoïc Hoguin
2016-01-15Try an experimental Erlang.mk CI featureLoïc Hoguin
2016-01-15Update CILoïc Hoguin
2016-01-14Convert the documentation to AsciidocLoïc Hoguin
A few small revisions were made, and Erlang.mk has been updated.
2015-11-16Update Erlang.mkLoïc Hoguin
2015-07-21Fix ci-prepare when OTP builds existLoïc Hoguin
2015-07-21Don't ignore failure when doing 'make ci'Loïc Hoguin
The best way to use 'make ci' is 'make -k ci', then it will complete its run even if a version fails, and still exit with an error code.
2015-07-21Add caching of OTP builds for CircleCILoïc Hoguin
Unfortunately not seeing how I can try it other than committing the file... Oh well, polluting the logs!
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-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.
2014-11-07Update erlang.mkLoïc Hoguin
2014-10-04Update erlang.mkLoïc Hoguin
2014-08-02Update links extend -> nineninesLoï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-30Update erlang.mk and update paths to start the releaseLoïc Hoguin
Fixes a couple invalid instructions at the same time.
2014-03-24Update erlang.mkLoïc Hoguin
2013-12-29Now testing on R15B01+ and maint and master git branchesLoïc Hoguin
2013-12-02Update erlang.mk againLoïc Hoguin
2013-12-02Update erlang.mkLoïc Hoguin
2013-11-14Update erlang.mkLoïc Hoguin
2013-10-14erlang.mk now has built-in support for relxLoïc Hoguin
2013-08-31Update erlang.mkLoïc Hoguin
2013-08-24Update erlang.mkLoïc Hoguin
2013-06-19Update erlang.mkLoïc Hoguin
2013-05-15Change some module calls to local function callsLoï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