aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide
AgeCommit message (Collapse)Author
2020-05-21Cowboy 2.8.0Loïc Hoguin
2020-05-20Clarify the routing algorithmLoïc Hoguin
2020-03-29Add more specificationsLoïc Hoguin
2020-02-08Add Trace Context to the list of specsLoïc Hoguin
2020-02-08Clarify modifying/adding to the Req objectLoïc Hoguin
2020-01-06Add a skeleton performance chapter to the guideLoïc Hoguin
2020-01-06Use active,NLoïc Hoguin
This reduces the number of times we need to ask for more packets, and as a result we get a fairly large boost in performance, especially with HTTP/1.1. Unfortunately this makes Cowboy require at least Erlang/OTP 21.3+ because the ssl application did not have active,N. For simplicity the version required will be Erlang/OTP 22+. In addition this change improves hibernate handling in cowboy_websocket. Hibernate will now work for HTTP/2 transport as well, and stray or unrelated messages will no longer cancel hibernate (the process will handle the message and go back into hibernation). Thanks go to Stressgrid for benchmarking an early version of this commit: https://stressgrid.com/blog/cowboy_performance_part_2/
2019-12-31Add new RFCs to the listLoïc Hoguin
2019-10-10Cowboy 2.7.0Loïc Hoguin
2019-10-10Add shutdown_reason Websocket commandLoïc Hoguin
This allows changing the normal exit reason of Websocket processes, providing a way to signal other processes of why the exit occurred.
2019-10-09Implement flow control for HTTP/1.1Loïc Hoguin
We now stop reading from the socket unless asked to, when we reach the request body. The option initial_stream_flow_size controls how much data we read without being asked, as an optimization. We may also have received additional data along with the request headers. This commit also reworks the timeout handling for HTTP/1.1 because the stray timeout message was easily reproducible after implementing the flow control. The issue should be gone for good this time.
2019-10-07Add migration guide for Cowboy 2.7Loïc Hoguin
2019-10-07Add new stream handlers to the guideLoïc Hoguin
Also link from the guide to manual pages.
2019-10-06Document the commands based Websocket interfaceLoïc Hoguin
The old interface with ok|reply|stop tuples is deprecated.
2019-10-06Fix PUT when resource doesn't exist in flowchartLoïc Hoguin
This required moving around a lot of things so hopefully I did not add errors while doing so. Only time will tell. Also add the 415 that can result from content_types_accepted.
2019-10-05Fix REST flowchart around 201 response for PUTLoïc Hoguin
When the method is PUT we do not check the location header.
2019-10-03Document stopping the listener in App:stop/1Loïc Hoguin
2019-09-28Add persistent_term support to the routerLoïc Hoguin
2019-09-05Minor grammar correctionAlastair Hole
Noun 'setup' -> verb phrase 'set up'
2019-07-22Add more related specsLoïc Hoguin
2019-07-12Add two related specsLoïc Hoguin
2019-05-27Add two new RFCs to the listLoïc Hoguin
2019-04-24Add RFC 8586Loïc Hoguin
2019-04-05Cowboy 2.6.32.6.3Loïc Hoguin
2019-04-04Cowboy 2.6.22.6.2Loïc Hoguin
Updates Cowlib to 2.7.2.
2019-04-03Describe what star represent in the REST flowchartsLoïc Hoguin
2019-04-03Clarify what the private directory isGinetom
2019-04-02Add this year's April Fool's RFCLoïc Hoguin
2019-03-25Add a related RFCLoïc Hoguin
2018-11-28Cowboy 2.6.12.6.1Loïc Hoguin
2018-11-18Document cowboy_stream_h/cowboy_compress_hLoïc Hoguin
2018-11-18Add the chunked option for HTTP/1.1Loï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-17Prepare the Cowboy 2.6 releaseLoïc Hoguin
2018-11-14Document using undefined as content_types_provided callbackLoï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-14Document some undefined behavior in cowboy_routerLoïc Hoguin
2018-11-14Add a use case to loop handlersLoïc Hoguin
2018-11-04Add the rate_limited/2 REST callbackLoïc Hoguin
2018-11-02Add RFC6657 to the list of related documentsLoï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 upcoming Clear Site Data draft to the listLoïc Hoguin
2018-08-13Clarify the DEP_PLUGINS line in the Getting StartedLoïc Hoguin