Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-23 | Merge the two separate receive loops in cowboy_websocket | Loïc Hoguin | |
Also rename a bunch of functions to make the code easier to read. | |||
2018-03-23 | Add RFC 8336 to the list | Loïc Hoguin | |
2018-03-22 | Update rebar.config | Loïc Hoguin | |
2018-03-14 | Fix a Dialyzer warning | Loïc Hoguin | |
2018-03-14 | Add case for handling infinity for idle/request_timeout | Bartek Walkowicz | |
Currently cowboy assumes that idle_timeout or request_timeout is a number and always starts timers. Similar situation takes place in case of preface_timeout for http2. This commit adds case for handling infinity as a timeout, allowing to not start mentioned timers. | |||
2018-03-13 | Handle system messages in cowboy_websocket | Loïc Hoguin | |
2018-03-13 | Handle supervisor calls properly everywhere | Loïc Hoguin | |
2018-03-12 | Initial work on the sys_SUITE | Loïc Hoguin | |
There's already tests failing and quite some refactoring to be done to make some things easier to test or fix issues. | |||
2018-03-05 | Add a test suite for RFC7538; update Cowlib to 2.2.0 | Loïc Hoguin | |
This adds the 308 status code and fixes a few small parsing bugs. | |||
2018-02-28 | Enable ci.erlang.mk only when CI_ERLANG_MK=1 is set | Loïc Hoguin | |
This will avoid issues with other people's build systems. | |||
2018-02-28 | Fix crash in cowboy_http2 when content-length is invalid | Loïc Hoguin | |
2018-02-15 | Add a new relevant RFC | Loïc Hoguin | |
2018-02-09 | Add link to the PROXY protocol to the specs | Loïc Hoguin | |
It's very relevant even though I will probably not implement it. | |||
2018-01-29 | Add an example with a Websocket close frame | Loïc Hoguin | |
Thanks benbro! | |||
2018-01-29 | Fix a small issue in the cowboy_req:parse_cookies manual | Loïc Hoguin | |
Thanks benbro! | |||
2018-01-24 | Update Cowboy to 2.2.22.2.2 | Loïc Hoguin | |
2018-01-24 | Fix sending HTTP/2 bodies as iolists out of order | Loïc Hoguin | |
2018-01-23 | Update Cowboy to 2.2.12.2.1 | Loïc Hoguin | |
2018-01-23 | Fix an unused variable warning | Loïc Hoguin | |
2018-01-23 | Fix a miscount of output flow control window for HTTP/2 | Loïc Hoguin | |
The miscount occurred because of a faulty iolist split function. The bug should now be corrected, a PropEr test has been added and a regression test has also been added. | |||
2018-01-22 | Don't crash in delete_resp_header if no resp headers are set | Loïc Hoguin | |
2018-01-16 | Allow colon within path segments | Paul Fisher | |
Allow `cowboy_router:compile` to handle colon characters within path segments, rather than exiting with `badarg`. This is allowed via RFC 7230 2.7 -> [RFC 3986 3.3](https://tools.ietf.org/html/rfc3986#section-3.3): ``` segment = *pchar segment-nz = 1*pchar segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" ) ; non-zero-length segment without any colon ":" pchar = unreserved / pct-encoded / sub-delims / ":" / "@" ``` | |||
2018-01-02 | Add RFC 8297 to the list | Loïc Hoguin | |
2017-12-13 | Document the missing inform stream handler command2.2.0 | Loïc Hoguin | |
2017-12-13 | Fix Dialyzer warnings | Loïc Hoguin | |
2017-12-12 | Don't badmatch on HTTP/2 preface's Transport:send | Loïc Hoguin | |
Send errors produce annoying logs and we notice the connection is gone later on anyway. | |||
2017-12-12 | Fix HTTP/1.1 pipelining | Loïc Hoguin | |
Cases where a request body was involved could sometimes fail depending on timing. Also fix all of the old http_SUITE tests. | |||
2017-12-11 | Fix how we require HTTP/1.0 from Gun in rfc7231_SUITE | Loïc Hoguin | |
2017-12-11 | Update Cowboy to 2.2.0 | Loïc Hoguin | |
2017-12-11 | Document trailers in the guide | Loïc Hoguin | |
2017-12-11 | Small documentation tweaks | Loïc Hoguin | |
2017-12-11 | Document 2.2 changes and the new stream_trailers function | Loïc Hoguin | |
2017-12-08 | Add the few remaining tests to the rfc7231 test suite | Loïc Hoguin | |
2017-12-07 | Add more rfc7231 tests and a new max_skip_body_length option | Loïc Hoguin | |
The option controls how much body we accept to skip for HTTP/1.1 connections when the user code did not consume the body fully. It defaults to 1MB. | |||
2017-12-06 | Send a 426 when Websocket is required and client didn't upgrade | Loïc Hoguin | |
2017-12-06 | Fix 408 not sending connection: close for HTTP/1.1 | Loïc Hoguin | |
Also make sure the header is sent for all types of early_error that result in the closing of the connection. | |||
2017-12-06 | Add more rfc7231 tests | Loïc Hoguin | |
2017-12-06 | Properly handle OPTIONS * requests | Loïc Hoguin | |
Support for these was broken during the development of Cowboy 2.0. It is now fixed and better handled than it ever was. | |||
2017-12-06 | Also disable the TRACE method entirely | Loïc Hoguin | |
2017-12-06 | Disable the CONNECT method completely | Loïc Hoguin | |
It's safer than allow it with the wrong behavior. | |||
2017-12-04 | Add an rfc7231 test suite, fix an HTTP/2 bug with HEAD | Loïc Hoguin | |
In some cases there could be a body sent as a response to a HEAD request when using HTTP/2. This has been corrected. | |||
2017-11-30 | Fix HTTP/2 push | Loïc Hoguin | |
2017-11-29 | Don't send chunked bodies when the method is HEAD | Loïc Hoguin | |
2017-11-29 | Don't include a content-length in 204 responses | Loïc Hoguin | |
2017-11-29 | Reject absolute URIs with no authority components | Loïc Hoguin | |
2017-11-29 | Reject absolute URIs with userinfo components in HTTP/1.1 | Loïc Hoguin | |
2017-11-29 | Fix a test description | Loïc Hoguin | |
2017-11-29 | Fix many rfc7230 tests that were echoing the URI | Loïc Hoguin | |
2017-11-29 | Reject whitespace before/after HTTP/1.1 header names properly | Loïc Hoguin | |
2017-11-29 | Fix a broken test case in the rfc7540 suite | Loïc Hoguin | |