mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
![]() 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. |
||
---|---|---|
.. | ||
handlers | ||
static_handler_SUITE_data | ||
ws_autobahn_SUITE_data | ||
ws_SUITE_data | ||
compress_SUITE.erl | ||
cover.spec | ||
cowboy_ct_hook.erl | ||
cowboy_test.erl | ||
decompress_SUITE.erl | ||
examples_SUITE.erl | ||
h2spec_SUITE.erl | ||
http2_SUITE.erl | ||
http_SUITE.erl | ||
loop_handler_SUITE.erl | ||
metrics_SUITE.erl | ||
misc_SUITE.erl | ||
plain_handler_SUITE.erl | ||
proxy_header_SUITE.erl | ||
req_SUITE.erl | ||
rest_handler_SUITE.erl | ||
rfc6585_SUITE.erl | ||
rfc7230_SUITE.erl | ||
rfc7231_SUITE.erl | ||
rfc7538_SUITE.erl | ||
rfc7540_SUITE.erl | ||
rfc8297_SUITE.erl | ||
rfc8441_SUITE.erl | ||
security_SUITE.erl | ||
static_handler_SUITE.erl | ||
stream_handler_SUITE.erl | ||
sys_SUITE.erl | ||
tracer_SUITE.erl | ||
ws_autobahn_SUITE.erl | ||
ws_handler_SUITE.erl | ||
ws_SUITE.erl |