Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2018-11-15 | Add a compress_buffering option to cowboy_compress_h | Loïc Hoguin | |
Also changes the behavior to disable buffering by default, so that the default works in all cases, including server-sent events. | |||
2018-11-14 | Don't send the content-length header in empty 304 responses | Loïc Hoguin | |
It's OK to send it when set explicitly, as it can be set to what the representation's size would have been. | |||
2018-11-14 | Ignore the boundary parameter when accepting multipart | Loïc Hoguin | |
2018-11-14 | Allow disabling keep-alive for HTTP/1.0 connections | Loïc Hoguin | |
2018-11-14 | Don't send an unnecessary content-type header with cowboy_rest | Loïc Hoguin | |
2018-11-13 | Remove two unnecessary debug calls | Loïc Hoguin | |
2018-11-13 | Add the {deflate, boolean()} Websocket command | Loïc Hoguin | |
It allows to temporarily disable Websocket compression when it was negotiated. It's ignored otherwise. This can be used as fine-grained control when some frames do not compress well. | |||
2018-11-12 | Add deflate options for Websocket compression | Loïc Hoguin | |
They allow the server to configure what it is willing to accept for both the negotiated configuration (takeover and window bits) and the other zlib options (level, mem_level and strategy). This can be used to reduce the memory and/or CPU footprint of the compressed data, which comes with a cost in compression ratio. | |||
2018-11-11 | Enable range requests support in cowboy_static | Loïc Hoguin | |
2018-11-11 | Add ProvideRangeCallback tests using sendfile | Loïc Hoguin | |
And fix this case when multiple ranges are requested. | |||
2018-11-11 | Add automatic ranged request handling for bytes units | Loïc Hoguin | |
Returning the atom auto instead of a callback informs Cowboy that it needs to handle range requests automatically. This changes the behavior so that the ProvideCallback function is called and then Cowboy splits the data on its own and sends the response without any other user involvement other than defining the ranges_provided/2 callback. This is a quick and dirty way to add range request support to resources, and will be good enough for many cases including for cowboy_static as it also works when the normal response body is a sendfile tuple. | |||
2018-11-09 | Add sendfile support to cowboy_req:stream_body | Loïc Hoguin | |
It is now possible to stream one or more sendfile tuples. A simple example of what can now be done would be for example to build a tar file on the fly using the sendfile syscall for sending the files, or to support Range requests with more than one range with the sendfile syscall. When using cowboy_compress_h unfortunately we have to read the file in order to send it. More options will be added at a later time to make sure users don't read too much into memory. This is a new feature however so existing code is not affected. Also rework cowboy_http's data sending to be flatter. | |||
2018-11-07 | Add support for range requests (RFC7233) in cowboy_rest | Loïc Hoguin | |
This is currently undocumented but is planned to be documented in the next version. | |||
2018-11-05 | Test stop against all relevant REST callbacks | Loïc Hoguin | |
2018-11-05 | Test switch_handler against all relevant REST callbacks | Loïc Hoguin | |
2018-11-04 | Add the rate_limited/2 REST callback | Loïc Hoguin | |
2018-11-03 | Add a test suite for RFC6585 | Loïc Hoguin | |
2018-11-03 | Add an option to disable sendfile for a listener | Loïc Hoguin | |