Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-28 | Exit gracefully on parent exit/sys:terminate/2,3 | Loïc Hoguin | |
2018-10-26 | Switch cowboy_http2 to the new cow_http2_machine | Loïc Hoguin | |
The new module is a merge of the Cowboy and Gun HTTP/2 state machines. Using a common code will help future developments rather than duplicating the work. A notable change is in how streams are terminated when the handler stops before the body is sent. The cowboy_stream:terminate function is now called only after the body has been sent fully (or the stream is reset in-between), not when the stop command is returned. This will most likely have an impact on metrics but will be closer to reality. I had to comment a broken test in rfc7231_SUITE that was cheating, cheating is no longer possible. This depends on Cowlib master for the time being. A new Cowlib version will be released once both Cowboy and Gun are ported to use cow_http2_machine and I'm satisfied with it. | |||
2018-09-26 | Use gun:info instead of hacks for test socket operations | Loïc Hoguin | |
2018-09-23 | Fix stream_handler_SUITE test failures due to compression | Loïc Hoguin | |
We always compress when streaming the body back to the client regardless of the size actually streamed. | |||
2018-09-23 | Correct two tests that introspect the Gun state | Loïc Hoguin | |
It has changed in Gun 1.2. | |||
2018-09-21 | Rename the HTTP/2 Websocket test suite to rfc8441_SUITE | Loïc Hoguin | |
2018-09-21 | Add the {active, boolean()} Websocket command | Loïc Hoguin | |
This command is currently not documented. It allows disabling the reading of incoming data from the socket, and can be used as a poor man's flow control. | |||
2018-09-12 | Do not send a 101 after a final response in switch_protocol | Loïc Hoguin | |
2018-09-11 | Swap the ws and autobahn test groups to run autobahn last | Loïc Hoguin | |
If there's an error it makes sense to have feedback as early as possible. | |||
2018-09-11 | Add a commands-based interface to Websocket handlers | Loïc Hoguin | |
This feature is currently experimental. It will become the preferred way to use Websocket handlers once it becomes documented. A commands-based interface enables adding commands without having to change the interface much. It mirrors the interface of stream handlers or gen_statem. It will enable adding commands that have been needed for some time but were not implemented for fear of making the interface too complex. | |||
2018-09-07 | Add cowboy_req:read_and_match_urlencoded_body/2,3 | Loïc Hoguin | |
2018-08-13 | Improve errors for when the ProvideCallback is missing | Loïc Hoguin | |
2018-08-13 | Fix the infinity timeout tests | Loïc Hoguin | |
Make sure the test fails when the code is incorrect. | |||
2018-08-13 | Move some test functions off to ct_helper | Loïc Hoguin | |
2018-08-13 | Fix cancelling undefined settings timer | Bing Han | |
when settings_timeout is infinity | |||
2018-06-27 | Add test cases for cowboy_req:stream_events | Loïc Hoguin | |
2018-06-26 | Fix tests for most recent Gun | Loïc Hoguin | |
2018-06-25 | Add streaming without chunking for HTTP/1.1 | Eric Meadows-Jönsson | |
If content-length is set in the response headers we can skip chunked transfer-encoding. | |||
2018-06-04 | Add a test for an empty host header in rfc7230 | Loïc Hoguin | |
2018-05-22 | Fix intermittent test failures in rfc7540_SUITE | Loïc Hoguin | |
2018-05-22 | Ensure tests in rfc7540_SUITE can be repeated | Loïc Hoguin | |
2018-05-20 | Fix intermittent failure of max_frame_size_sent test | Loïc Hoguin | |
2018-05-18 | Remove two broken absolute URI tests from old_http_SUITE | Loïc Hoguin | |
2018-05-18 | Remove the trailer header from HTTP/1.1 response if no TE | Loïc Hoguin | |
2018-05-18 | Don't send transfer-encoding when streaming 204 responses | Loïc Hoguin | |
2018-05-18 | Improve the limit_requests_keepalive test | Loïc Hoguin | |
We now check that the connection gets closed. | |||
2018-05-18 | Fix the ignore_requests_after_response_connection_close test | Loïc Hoguin | |
It was not working at all. | |||
2018-05-18 | Comment out the origin_form_reject_if_connect test | Loïc Hoguin | |
We don't implement CONNECT yet so we unconditionally return a 501 for these requests and that makes this test fail. | |||
2018-05-18 | Add more validation of absolute-form request targets | Loïc Hoguin | |
2018-05-18 | Remove more old_http_SUITE tests | Loïc Hoguin | |
2018-05-17 | Remove the set_env test from old_http_SUITE | Loïc Hoguin | |
It duplicated a test in misc_SUITE. Also fix a couple issues in misc_SUITE including a test that was not being executed. | |||
2018-05-17 | Remove the parse_host test from old_http_SUITE | Loïc Hoguin | |
It seems to just be a duplicate of something we now have in Cowlib. | |||
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. |