Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-16 | Fix closing of connection on response_body_too_small | Loïc Hoguin | |
2019-09-15 | Split up urlencoded tests to speed up req_SUITE | Loïc Hoguin | |
2019-09-15 | Skip req_SUITE:read_body_mtu on Windows | Loïc Hoguin | |
On Windows the loopback MTU seems to be set to 0xFFFFFFFF (basically no limit) which makes the test irrelevant. | |||
2019-09-15 | Increase the period for req_SUITE:read_body_period | Loïc Hoguin | |
This should increase the likelihood of the test succeeding on slower systems when run over TLS. | |||
2019-09-15 | Fix h2spec_SUITE init_per_suite return values | Loïc Hoguin | |
2019-09-15 | Fix intermittent failures in sys_SUITE | Loïc Hoguin | |
2019-09-14 | Implement backpressure on cowboy_req:stream_body | Loïc Hoguin | |
This should limit the amount of memory that Cowboy is using when a handler is sending data much faster than the network. The new max_stream_buffer_size is a soft limit and only has an effect when the cowboy_stream_h handler is used. | |||
2019-09-07 | Improve the cowboy_static consistency across platforms | Loïc Hoguin | |
As a result we explictly reject path_info components that include a forward slash, backward slash or NUL character. This only applies to the [...] part of the path for dir/priv_dir configuration. Also improve the tests so that they work on Windows. | |||
2019-09-06 | Fix tests failing following Gun update to master | Loïc Hoguin | |
2019-09-06 | Rename Gun's transport_opts to tls_opts | Loïc Hoguin | |
2019-09-06 | Correct tests modifying mtime of static files | Loïc Hoguin | |
On macOS this resulted in failure because the mtime did not change between test groups. The mtime should now always change. | |||
2019-09-06 | Fix using custom fields in Req | Loïc Hoguin | |
2019-09-05 | Fix and optimize sending of WINDOW_UPDATE frames | Loïc Hoguin | |
For long-running connections it was possible for the connection window to become larger than allowed by the protocol because the window increases claimed by stream handlers were never reclaimed even if no data was consumed. The new code applies heuristics to fix this and reduce the number of WINDOW_UPDATE frames that are sent. It includes six new options to control that behavior: margin, max and threshold for both the connection and stream windows. The margin is some extra space added on top of the requested read size. The max is the maximum window size at any given time. The threshold is a minimum window size that must be reached before we even consider sending more WINDOW_UPDATE frames. We also avoid sending WINDOW_UPDATE frames when there is already enough space in the window, or when the read size is 0. Cowlib is set to master until a new tag is done. | |||
2019-07-26 | Add a zero-length DATA frame in the lingering_data test | Tony Han | |
2019-07-16 | Data received after RST_STREAM counts toward window | Tony Han | |
2019-04-01 | Fallback to host header if authority is missing | Fredrik Enestad | |
2019-04-01 | Add a cowboy_static test with an uppercase filename/extension | Loïc Hoguin | |
2019-03-10 | Don't error out when h2spec can't be compiled | Loïc Hoguin | |
2018-11-22 | Improve the reliability of some http_SUITE tests | Loïc Hoguin | |
2018-11-22 | Fix compress buffering tests before OTP 20.1 | Loïc Hoguin | |
2018-11-22 | Move the final old HTTP suite tests and remove it | Loïc Hoguin | |
2018-11-21 | Move many old HTTP test cases to the rest_handler test suite | Loïc Hoguin | |
A bug was fixed in cowboy_rest where when content_types_provided returned a media type with a wildcard as first in the list, and a request comes in without an accept header, then the media_type value in the Req object would contain '*' instead of [] for the parameters. | |||
2018-11-21 | Move a old HTTP test cases to new plain_handler test suite | Loïc Hoguin | |
2018-11-21 | Rename sec_SUITE to security_SUITE | Loïc Hoguin | |
2018-11-21 | Move one more old HTTP test case | Loïc Hoguin | |
2018-11-21 | Move some more tests out of the old HTTP test suite | Loïc Hoguin | |
2018-11-21 | Create a security test suite based on old HTTP test cases | Loïc Hoguin | |
2018-11-21 | Move another test from the old HTTP test suite | Loïc Hoguin | |
2018-11-21 | Move some tests out of the old HTTP test suite | Loïc Hoguin | |
And additional minor tweaks. | |||
2018-11-20 | Move HTTP/1.0 tests from the old test suite to rfc7230 | Loïc Hoguin | |
2018-11-20 | Silence expected warnings for messages from unknown processes | Loïc Hoguin | |
2018-11-20 | Silence the expected set_env_missing error | Loïc Hoguin | |
2018-11-20 | Increase a few more timeouts to reduce intermittent failures | Loïc Hoguin | |
2018-11-20 | Fix the request_timeout_infinity test | Loïc Hoguin | |
Wrong option was being tested. | |||
2018-11-20 | Don't run long test suites by default | Loïc Hoguin | |
The examples test suite is only useful once in a while in order to know whether examples were broken, for example before issuing a release. The new ws_autobahn test suite isolates the autobahn test suite so that it can be ignored by default. It's only useful to run it when working on the Websocket code or before issuing a release. | |||
2018-11-20 | Handle a test case sometimes sending a response too fast | Loïc Hoguin | |
2018-11-20 | Wait for the connection to be up in a few tests | Loïc Hoguin | |
2018-11-20 | Increase a test timeout to get rid of intermittent failures | Loïc Hoguin | |
2018-11-19 | Fix case insensitive filesystems in static_handler test suite | Loïc Hoguin | |
2018-11-19 | Silence expected errors from the stream_handler test suite2.6.0 | Loïc Hoguin | |
2018-11-19 | Add an additional test to the static test suite | Loïc Hoguin | |
2018-11-19 | Silence expected errors from the static_handler test suite | Loïc Hoguin | |
2018-11-19 | Use try..after in tests that start their own listeners | Loïc Hoguin | |
2018-11-19 | Use ?FUNCTION_NAME instead of ct_helper:name() | Loïc Hoguin | |
Cowboy is 19+ so it's OK to use it. | |||
2018-11-18 | Add the chunked option for HTTP/1.1 | Loïc Hoguin | |
It allows disabling the chunked transfer-encoding. It can also be disabled on a per-request basis, although it will be ignored for responses that are not streamed. | |||
2018-11-16 | Add the idle_timeout option to HTTP/2 | Loïc Hoguin | |
2018-11-16 | Add the set_options Websocket command | Loïc Hoguin | |
It allows overriding the idle_timeout option only for now. | |||
2018-11-16 | Ensure unknown options are ignored in set_options command | Loïc Hoguin | |
2018-11-16 | Allow overriding cowboy_http's idle_timeout per request | Loïc Hoguin | |
This allows requests that expect to run longer to do so without impacting the configuration of other requests. | |||
2018-11-15 | Add the set_options stream handler command | Loïc Hoguin | |
The first two options to benefit from this are the cowboy_compress_h options. |