Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 the proxy_header protocol option | Loïc Hoguin | |
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-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-05 | Test stop 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 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 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-10-28 | Exit gracefully on parent exit/sys:terminate/2,3 | Loïc Hoguin | |
2018-09-12 | Do not send a 101 after a final response in switch_protocol | Loïc Hoguin | |
2018-09-07 | Add cowboy_req:read_and_match_urlencoded_body/2,3 | Loïc Hoguin | |
2018-09-07 | Fix some grammatical errors in the manual | Loïc Hoguin | |
2018-06-28 | Introduce undocumented option logger | Loïc Hoguin | |
This commit reworks the logging that Cowboy does via error_logger to make the module that will do the actual logging configurable. The logger module interface must be the same as logger and lager: a separate function per log level with the same log levels they support. The default behavior remains to call error_logger, although some messages were downgraded to warnings instead of errors. Since error_logger only supports three different log levels, some messages may get downgraded/upgraded depending on what the original log level was to make them compatible with error_logger. The {log, Level, Format, Args} command was also added to stream handlers. Stream handlers should use this command to log messages because it allows writing a stream handler to intercept some of those messages and extract information or block them as necessary. The logger option only applies to Cowboy itself, not to the messages Ranch logs, so more work remains to be done in that area. | |||
2018-06-27 | Remove a stream handlers related todo not worth doing | Loïc Hoguin | |
2018-06-27 | Document cowboy_req:stream_events/3 | Loïc Hoguin | |
2018-06-26 | Add missing frame types to websocket_handle specs/docs | Loïc Hoguin | |
Thanks Artem. | |||
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-11 | Fix an example missing a " in the manual | Loïc Hoguin | |
2018-06-08 | Fix some formatting issues in the manual | Loïc Hoguin | |
2018-06-06 | Fix an incorrect section_title level in the manual | Loïc Hoguin | |
2018-06-06 | Fix the cowboy_stream manual page name | Loïc Hoguin | |
2018-06-04 | Add a comment about push requiring a secure connection | Loïc Hoguin | |
2018-05-16 | Add option linger_timeout to cowboy_http | Loïc Hoguin | |
2018-05-02 | Fix cowboy_http2 manual page formatting | Loïc Hoguin | |
[ci skip] | |||
2018-04-30 | Remove a bunch of todos2.4.0 | Loïc Hoguin | |
2018-04-28 | Add SETTINGS ack timeout and option settings_timeout | Loïc Hoguin | |
2018-04-27 | Add options controlling maximum h2 frame sizes | Loïc Hoguin | |
2018-04-26 | Add options controlling initial control flow windows | Loïc Hoguin | |
2018-04-25 | Add the max_concurrent_streams h2 option | Loïc Hoguin | |
2018-04-25 | Add options to control h2's SETTINGS_HEADER_TABLE_SIZE | Loïc Hoguin | |
2018-04-04 | Add initial implementation of Websocket over HTTP/2 | Loïc Hoguin | |
Using the current draft: https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-01 | |||
2018-03-28 | Add max_frame_size option for websocket handlers | Kirill Kinduk | |
Option allows to limit a frame by size before decoding its payload. LH: I have added a test for when the limit is reached on a nofin fragmented frame (the last commit addressed that case but it had no test). I have fixed formatting and other, and changed the default value to infinity since it might otherwise be incompatible with existing code. I also added documentation and a bunch of other minor changes. | |||
2018-01-29 | Fix a small issue in the cowboy_req:parse_cookies manual | Loïc Hoguin | |
Thanks benbro! | |||
2017-12-13 | Document the missing inform stream handler command2.2.0 | Loïc Hoguin | |
2017-12-11 | Small documentation tweaks | Loïc Hoguin | |
2017-12-11 | Document 2.2 changes and the new stream_trailers function | Loïc Hoguin | |
2017-12-08 | Add the few remaining tests to the rfc7231 test suite | Loïc Hoguin | |
2017-12-07 | Add more rfc7231 tests and a new max_skip_body_length option | Loïc Hoguin | |
The option controls how much body we accept to skip for HTTP/1.1 connections when the user code did not consume the body fully. It defaults to 1MB. | |||
2017-11-09 | Add a changelog for cowboy_rest | Loïc Hoguin | |
2017-11-09 | Fix the introduction version for the new 2.1 functions | Loïc Hoguin | |
2017-11-01 | Add {switch_handler, Module} return value to cowboy_rest | Loïc Hoguin | |
Also {switch_handler, Module, Opts}. Allows switching to a different handler type. This is particularly useful for processing most of the request with cowboy_rest and then streaming the response body using cowboy_loop. | |||
2017-10-29 | Add cowboy_req:inform/2,3 | Loïc Hoguin | |
User code can now send as many 1xx responses as necessary. | |||
2017-10-25 | Introduce cowboy_req:sock/1 and cowboy_req:cert/1 | Loïc Hoguin | |
To obtain the local socket ip/port and the client TLS certificate, respectively. | |||
2017-10-22 | Ensure stream terminate is called when switching protocols | Loïc Hoguin | |
2017-10-02 | Document cow_ws:frame in Cowboy for now | Loïc Hoguin | |
2017-10-02 | Fix the documentation for the command flow | Loïc Hoguin | |
2017-09-05 | Update naming in REST flowcharts | Loïc Hoguin | |