Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-17 | Move a router test from old_http_SUITE to cowboy_router | Loïc Hoguin | |
2018-05-17 | Move timeout tests from old_http_SUITE to http_SUITE | Loïc Hoguin | |
Also fix the idle_timeout test which was producing an extra crash log. | |||
2018-05-17 | Remove more tests from old_http_SUITE which exist elsewhere | Loïc Hoguin | |
2018-05-17 | Remove/convert tests about request body from old_http_SUITE | Loïc Hoguin | |
2018-05-17 | Remove a broken test from loop_handler_SUITE | Loïc Hoguin | |
The feature was removed in Cowboy 2.0. An alternative to obtain the same behavior will be introduced as cowboy_req:read_body_async/1. | |||
2018-05-17 | Speed up testing large static files, 32MB instead of 512MB | Loïc Hoguin | |
2018-05-17 | Make examples_SUITE runs nearly twice faster | Loïc Hoguin | |
2018-05-16 | Increase a timeout to make some slower tests pass | Loïc Hoguin | |
2018-05-16 | Honor the SETTINGS_ENABLE_PUSH from clients | Loïc Hoguin | |
This fixes curl when fetching resources that use push. | |||
2018-05-16 | Run h2spec over TCP instead of TLS | Loïc Hoguin | |
2018-05-16 | Use default port when not given in :authority | Loïc Hoguin | |
2018-05-07 | Add a test suite for RFC8297 | Loïc Hoguin | |
Not much to test but heh. | |||
2018-04-30 | Fix some intermittent test issues in rfc7540 | Loïc Hoguin | |
2018-04-30 | Fix some rfc7540 tests that had an empty :path | Loïc Hoguin | |
2018-04-30 | Reduce the time we wait during h2spec requests | Loïc Hoguin | |
2018-04-30 | Reject HTTP/2 requests with a body size different than content-length | Loïc Hoguin | |
2018-04-29 | Add tests for rejecting streams depending on themselves | Loïc Hoguin | |
2018-04-29 | Receive and ignore HTTP/2 request trailers if any | Loïc Hoguin | |
This is a first step toward properly supporting request trailers. | |||
2018-04-28 | Add SETTINGS ack timeout and option settings_timeout | Loïc Hoguin | |
2018-04-28 | Fix intermittent test failures for rfc7540 | Loïc Hoguin | |
2018-04-27 | Fix an rfc7540 test to have a different error reason | Loïc Hoguin | |
2018-04-27 | Add options controlling maximum h2 frame sizes | Loïc Hoguin | |
2018-04-26 | Add options controlling initial control flow windows | Loïc Hoguin | |
2018-04-25 | Add the max_concurrent_streams h2 option | Loïc Hoguin | |
2018-04-25 | Add options to control h2's SETTINGS_HEADER_TABLE_SIZE | Loïc Hoguin | |
2018-04-23 | HTTP/2 informational responses don't end the stream | Loïc Hoguin | |
2018-04-17 | Add a Websocket test with 3000 connections | Loïc Hoguin | |
To ensure the connections are not limited by max_connections. | |||
2018-04-04 | Add initial implementation of Websocket over HTTP/2 | Loïc Hoguin | |
Using the current draft: https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-01 | |||
2018-03-28 | Add max_frame_size option for websocket handlers | Kirill Kinduk | |
Option allows to limit a frame by size before decoding its payload. LH: I have added a test for when the limit is reached on a nofin fragmented frame (the last commit addressed that case but it had no test). I have fixed formatting and other, and changed the default value to infinity since it might otherwise be incompatible with existing code. I also added documentation and a bunch of other minor changes. | |||
2018-03-27 | Add the remaining sys tests | Loïc Hoguin | |
2018-03-27 | Add more sys tests | Loïc Hoguin | |
2018-03-26 | Fix the flushing of messages when switching to Websocket | Loïc Hoguin | |
We now flush messages that are specific to cowboy_http only. Stream handlers should also flush their own specific messages if necessary, although timeouts will be flushed regardless of where they originate from. Also renames the http_SUITE to old_http_SUITE to distinguish new tests from old tests. Most old tests need to be removed or converted eventually as they're legacy tests from Cowboy 1.0. | |||
2018-03-23 | Add initial support for system messages in cowboy_loop | Loïc Hoguin | |
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-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 | Fix crash in cowboy_http2 when content-length is invalid | 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 / ":" / "@" ``` | |||
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-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 | |