mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Add a compress_buffering option to cowboy_compress_h
Also changes the behavior to disable buffering by default, so that the default works in all cases, including server-sent events.
This commit is contained in:
parent
292039362a
commit
fbfec873f6
5 changed files with 79 additions and 6 deletions
|
@ -25,6 +25,7 @@
|
|||
-export([system_code_change/4]).
|
||||
|
||||
-type opts() :: #{
|
||||
compress_buffering => boolean(),
|
||||
compress_threshold => non_neg_integer(),
|
||||
connection_type => worker | supervisor,
|
||||
env => cowboy_middleware:env(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue