Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Document cowboy_stream_h/cowboy_compress_h | Loïc Hoguin | |
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-17 | Prepare the Cowboy 2.6 release | Loïc Hoguin | |
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 | Document using undefined as content_types_provided callback | Loïc Hoguin | |
This is a convention that indicates the callback will never be called, for example because the methods HEAD or GET are not accepted. | |||
2018-11-14 | Add some missing items to a few module changelogs | Loïc Hoguin | |
2018-11-14 | Allow disabling keep-alive for HTTP/1.0 connections | Loïc Hoguin | |
2018-11-14 | Document some undefined behavior in cowboy_router | Loïc Hoguin | |
2018-11-14 | Add a use case to loop handlers | Loïc Hoguin | |
2018-11-14 | Don't send an unnecessary content-type header with cowboy_rest | Loïc Hoguin | |
2018-11-14 | Ranch 1.7.0 | Loïc Hoguin | |
2018-11-14 | Document the proxy_header protocol option | 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 | Fix unused type in cowboy_static | Loïc Hoguin | |
2018-11-05 | Simplify the code that calls REST callbacks | Loïc Hoguin | |
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 | |
2018-11-02 | Add a charset option to cowboy_static | Loïc Hoguin | |
2018-11-02 | Add RFC6657 to the list of related documents | Loïc Hoguin | |
2018-11-02 | Remove the default charset iso-8859-1 in cowboy_rest | Loïc Hoguin | |
This requirement was removed in RFC7231 and the rationale behind it was documented in RFC6657. | |||
2018-11-02 | Add tests for charsets_provided | Loïc Hoguin | |
Fix cases where the q-value is 0 and where a wildcard was sent in the accept-charset header. Also don't send a charset in the content-type of the response if the media type is not text. Thanks to Philip Witty for help figuring this out. | |||
2018-11-02 | Better handle content negotiation when accept contains charsets | Loïc Hoguin | |
Thanks to Philip Witty for help figuring this out. | |||
2018-11-01 | Accept a broader media type as input in rest_pastebin example | Loïc Hoguin | |
2018-10-31 | Add a cowboy_rest test for malformed if-*-match headers | Loïc Hoguin | |
2018-10-31 | Add compress_threshold protocol option | Steve Domin | |
Currently the compression threshold is set to 300 and hardcoded in the codebase. There are cases where it make sense to allow this to be configured, for instance when you want to enforce all responses to be compressed regarldess of their size. | |||
2018-10-31 | Make sure we don't send error_responses on the wrong stream | Loïc Hoguin | |
2018-10-31 | Handle error_response command in cowboy_metrics_h | Grigory Starinkin | |
2018-10-31 | Improve a few types, including cowboy_req:req() | Loïc Hoguin | |
2018-10-31 | Always dialyze tests and fix some cowboy_req specs | Loïc Hoguin | |