aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/streams.asciidoc
AgeCommit message (Collapse)Author
2024-01-04Rework and improve the decompress stream handlerLoïc Hoguin
The read buffer was changed into an iovec to avoid doing too many binary concatenations and allocations. Decompression happens transparently: when decoding gzip, the content-encoding header is removed (we only decode when "gzip" is the only encoding so nothing remains). We always add a content_decoded key to the Req object. This key contains a list of codings that were decoded, in the reverse order in which they were. Currently it can only be empty or contain <<"gzip">> but future improvements or user handlers may see it contain more values. The option to disable decompression was renamed to decompress_enabled and defaults to true. It is no longer possible to enable/disable decompression in the middle of reading the body: this ensures that the data we pass forward is always valid. Various smaller improvements were made to the code, tests and manual pages.
2023-12-21Add cowboy_decompress_h stream handlerjdamanalo
2020-01-06Add a skeleton performance chapter to the guideLoïc Hoguin
2019-10-07Add new stream handlers to the guideLoïc Hoguin
Also link from the guide to manual pages.
2017-07-23Write an initial draft of the streams chapterLoïc Hoguin
2017-07-19Remove the guide chapter about broken clientsLoïc Hoguin
None of these workarounds currently exist in Cowboy 2.0. We can resurrect the chapter later if it's still necessary, once we've added the workarounds back in some other form.
2017-07-19Remove hooks from the user guideLoïc Hoguin
They're gone!
2017-01-02Various fixes and tweaks to the user guideLoïc Hoguin