aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
AgeCommit message (Collapse)Author
2018-11-14Document some undefined behavior in cowboy_routerLoïc Hoguin
2018-11-14Add a use case to loop handlersLoïc Hoguin
2018-11-14Document the proxy_header protocol optionLoïc Hoguin
2018-11-12Add deflate options for Websocket compressionLoï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-09Add sendfile support to cowboy_req:stream_bodyLoï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-05Test stop against all relevant REST callbacksLoïc Hoguin
2018-11-04Add the rate_limited/2 REST callbackLoïc Hoguin
2018-11-03Add an option to disable sendfile for a listenerLoïc Hoguin
2018-11-02Add a charset option to cowboy_staticLoïc Hoguin
2018-11-02Add RFC6657 to the list of related documentsLoïc Hoguin
2018-11-02Add tests for charsets_providedLoï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-02Better handle content negotiation when accept contains charsetsLoïc Hoguin
Thanks to Philip Witty for help figuring this out.
2018-10-28Exit gracefully on parent exit/sys:terminate/2,3Loïc Hoguin
2018-10-26Add yet another RFC to the listLoïc Hoguin
2018-10-02Fix Cowboy version in the getting started chapter2.5.0Loïc Hoguin
2018-09-23Update Ranch to 1.6.2getong
2018-09-23Add a spec to the listLoïc Hoguin
2018-09-21Update Cowlib to 2.6.0Loïc Hoguin
2018-09-21Add the {active, boolean()} Websocket commandLoï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-20Remove an outdated note about cowboy_loop timeoutLoïc Hoguin
2018-09-19Add RFC 8441 to the listLoïc Hoguin
2018-09-12Do not send a 101 after a final response in switch_protocolLoïc Hoguin
2018-09-12Prepare the 2.5.0 releaseLoïc Hoguin
2018-09-07Add cowboy_req:read_and_match_urlencoded_body/2,3Loïc Hoguin
2018-09-07Fix some grammatical errors in the manualLoïc Hoguin
2018-09-07Add upcoming Clear Site Data draft to the listLoïc Hoguin
2018-08-13Clarify the DEP_PLUGINS line in the Getting StartedLoïc Hoguin
2018-08-06Remove an incorrect statement from the guideLoïc Hoguin
2018-06-28Introduce undocumented option loggerLoï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-27Remove a stream handlers related todo not worth doingLoïc Hoguin
2018-06-27Document cowboy_req:stream_events/3Loïc Hoguin
2018-06-26Add missing frame types to websocket_handle specs/docsLoïc Hoguin
Thanks Artem.
2018-06-25Add streaming without chunking for HTTP/1.1Eric Meadows-Jönsson
If content-length is set in the response headers we can skip chunked transfer-encoding.
2018-06-11The TLS certificate can be accessed directlyLoïc Hoguin
2018-06-11Fix an example missing a " in the manualLoïc Hoguin
2018-06-08Fix some formatting issues in the manualLoïc Hoguin
2018-06-06Fix an incorrect section_title level in the manualLoïc Hoguin
2018-06-06Fix the cowboy_stream manual page nameLoïc Hoguin
2018-06-04Add a comment about push requiring a secure connectionLoïc Hoguin
2018-05-16Add option linger_timeout to cowboy_httpLoïc Hoguin
2018-05-02Fix cowboy_http2 manual page formattingLoïc Hoguin
[ci skip]
2018-04-30Remove a bunch of todos2.4.0Loïc Hoguin
2018-04-30Update Cowboy to 2.4.0Loïc Hoguin
2018-04-28Add SETTINGS ack timeout and option settings_timeoutLoïc Hoguin
2018-04-27Add options controlling maximum h2 frame sizesLoïc Hoguin
2018-04-26Add options controlling initial control flow windowsLoïc Hoguin
2018-04-25Add the max_concurrent_streams h2 optionLoïc Hoguin
2018-04-25Add options to control h2's SETTINGS_HEADER_TABLE_SIZELoïc Hoguin
2018-04-04Add initial implementation of Websocket over HTTP/2Loïc Hoguin
Using the current draft: https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-01
2018-03-28Tentatively update Cowboy to 2.3.02.3.0Loïc Hoguin