aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2018-09-23Fix stream_handler_SUITE test failures due to compressionLoïc Hoguin
We always compress when streaming the body back to the client regardless of the size actually streamed.
2018-09-23Correct two tests that introspect the Gun stateLoïc Hoguin
It has changed in Gun 1.2.
2018-09-21Rename the HTTP/2 Websocket test suite to rfc8441_SUITELoïc Hoguin
2018-09-21Add the {active, boolean()} Websocket commandLoï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-12Do not send a 101 after a final response in switch_protocolLoïc Hoguin
2018-09-11Swap the ws and autobahn test groups to run autobahn lastLoïc Hoguin
If there's an error it makes sense to have feedback as early as possible.
2018-09-11Add a commands-based interface to Websocket handlersLoï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-07Add cowboy_req:read_and_match_urlencoded_body/2,3Loïc Hoguin
2018-08-13Improve errors for when the ProvideCallback is missingLoïc Hoguin
2018-08-13Fix the infinity timeout testsLoïc Hoguin
Make sure the test fails when the code is incorrect.
2018-08-13Move some test functions off to ct_helperLoïc Hoguin
2018-08-13Fix cancelling undefined settings timerBing Han
when settings_timeout is infinity
2018-06-27Add test cases for cowboy_req:stream_eventsLoïc Hoguin
2018-06-26Fix tests for most recent GunLoïc Hoguin
2018-06-25Add streaming without chunking for HTTP/1.1Eric Meadows-Jönsson
If content-length is set in the response headers we can skip chunked transfer-encoding.
2018-06-04Add a test for an empty host header in rfc7230Loïc Hoguin
2018-05-22Fix intermittent test failures in rfc7540_SUITELoïc Hoguin
2018-05-22Ensure tests in rfc7540_SUITE can be repeatedLoïc Hoguin
2018-05-20Fix intermittent failure of max_frame_size_sent testLoïc Hoguin
2018-05-18Remove two broken absolute URI tests from old_http_SUITELoïc Hoguin
2018-05-18Remove the trailer header from HTTP/1.1 response if no TELoïc Hoguin
2018-05-18Don't send transfer-encoding when streaming 204 responsesLoïc Hoguin
2018-05-18Improve the limit_requests_keepalive testLoïc Hoguin
We now check that the connection gets closed.
2018-05-18Fix the ignore_requests_after_response_connection_close testLoïc Hoguin
It was not working at all.
2018-05-18Comment out the origin_form_reject_if_connect testLoï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-18Add more validation of absolute-form request targetsLoïc Hoguin
2018-05-18Remove more old_http_SUITE testsLoïc Hoguin
2018-05-17Remove the set_env test from old_http_SUITELoï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-17Remove the parse_host test from old_http_SUITELoïc Hoguin
It seems to just be a duplicate of something we now have in Cowlib.
2018-05-17Move a router test from old_http_SUITE to cowboy_routerLoïc Hoguin
2018-05-17Move timeout tests from old_http_SUITE to http_SUITELoïc Hoguin
Also fix the idle_timeout test which was producing an extra crash log.
2018-05-17Remove more tests from old_http_SUITE which exist elsewhereLoïc Hoguin
2018-05-17Remove/convert tests about request body from old_http_SUITELoïc Hoguin
2018-05-17Remove a broken test from loop_handler_SUITELoï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-17Speed up testing large static files, 32MB instead of 512MBLoïc Hoguin
2018-05-17Make examples_SUITE runs nearly twice fasterLoïc Hoguin
2018-05-16Increase a timeout to make some slower tests passLoïc Hoguin
2018-05-16Honor the SETTINGS_ENABLE_PUSH from clientsLoïc Hoguin
This fixes curl when fetching resources that use push.
2018-05-16Run h2spec over TCP instead of TLSLoïc Hoguin
2018-05-16Use default port when not given in :authorityLoïc Hoguin
2018-05-07Add a test suite for RFC8297Loïc Hoguin
Not much to test but heh.
2018-04-30Fix some intermittent test issues in rfc7540Loïc Hoguin
2018-04-30Fix some rfc7540 tests that had an empty :pathLoïc Hoguin
2018-04-30Reduce the time we wait during h2spec requestsLoïc Hoguin
2018-04-30Reject HTTP/2 requests with a body size different than content-lengthLoïc Hoguin
2018-04-29Add tests for rejecting streams depending on themselvesLoïc Hoguin
2018-04-29Receive and ignore HTTP/2 request trailers if anyLoïc Hoguin
This is a first step toward properly supporting request trailers.
2018-04-28Add SETTINGS ack timeout and option settings_timeoutLoïc Hoguin
2018-04-28Fix intermittent test failures for rfc7540Loïc Hoguin
2018-04-27Fix an rfc7540 test to have a different error reasonLoïc Hoguin