Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-28 | Add persistent_term support to the router | 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-06 | Fix using custom fields in Req | Loïc Hoguin | |
2019-09-06 | Document unit for options that are in bytes | Loïc Hoguin | |
2019-09-05 | Minor grammar correction | Alastair Hole | |
Noun 'setup' -> verb phrase 'set up' | |||
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-22 | Add more related specs | Loïc Hoguin | |
2019-07-12 | Add two related specs | Loïc Hoguin | |
2019-05-27 | Add two new RFCs to the list | Loïc Hoguin | |
2019-05-13 | Fix a few examples using cert instead of certfile | Loïc Hoguin | |
2019-04-24 | Add RFC 8586 | Loïc Hoguin | |
2019-04-05 | Cowboy 2.6.32.6.3 | Loïc Hoguin | |
2019-04-04 | Cowboy 2.6.22.6.2 | Loïc Hoguin | |
Updates Cowlib to 2.7.2. | |||
2019-04-03 | Describe what star represent in the REST flowcharts | Loïc Hoguin | |
2019-04-03 | Clarify what the private directory is | Ginetom | |
2019-04-02 | Fix calling convention for set_resp_cookie/3 | Jesper Louis Andersen | |
If not providing optional values, they are set to `#{}` and are the last parameter according to the source code. Reflect this in the documentation. | |||
2019-04-02 | Add this year's April Fool's RFC | Loïc Hoguin | |
2019-03-25 | Add a related RFC | Loïc Hoguin | |
2018-11-28 | Cowboy 2.6.12.6.1 | Loïc Hoguin | |
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-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 | 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 RFC6657 to the list of related documents | 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-10-26 | Add yet another RFC to the list | Loïc Hoguin | |
2018-10-02 | Fix Cowboy version in the getting started chapter2.5.0 | Loïc Hoguin | |
2018-09-23 | Update Ranch to 1.6.2 | getong | |
2018-09-23 | Add a spec to the list | Loïc Hoguin | |
2018-09-21 | Update Cowlib to 2.6.0 | Loïc Hoguin | |
2018-09-21 | Add the {active, boolean()} Websocket command | Loï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-20 | Remove an outdated note about cowboy_loop timeout | Loïc Hoguin | |
2018-09-19 | Add RFC 8441 to the list | Loïc Hoguin | |
2018-09-12 | Do not send a 101 after a final response in switch_protocol | Loïc Hoguin | |
2018-09-12 | Prepare the 2.5.0 release | Loïc Hoguin | |
2018-09-07 | Add cowboy_req:read_and_match_urlencoded_body/2,3 | Loïc Hoguin | |