aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-18 13:21:36 +0100
committerLoïc Hoguin <[email protected]>2018-11-18 13:25:12 +0100
commit8d6d78575f64055be2d0992d8ccf802d9efa1faa (patch)
treeee95f8c365487a23afb8c10c225c1a2128a945fc /doc/src/guide
parent417032a445926ea79c42e82be25b384f2d17d8ac (diff)
downloadcowboy-8d6d78575f64055be2d0992d8ccf802d9efa1faa.tar.gz
cowboy-8d6d78575f64055be2d0992d8ccf802d9efa1faa.tar.bz2
cowboy-8d6d78575f64055be2d0992d8ccf802d9efa1faa.zip
Add the chunked option for HTTP/1.1
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.
Diffstat (limited to 'doc/src/guide')
-rw-r--r--doc/src/guide/migrating_from_2.5.asciidoc18
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/src/guide/migrating_from_2.5.asciidoc b/doc/src/guide/migrating_from_2.5.asciidoc
index 203775d..e3e1b80 100644
--- a/doc/src/guide/migrating_from_2.5.asciidoc
+++ b/doc/src/guide/migrating_from_2.5.asciidoc
@@ -24,23 +24,26 @@ experimental.
data in order to compress them. This is the case for
gzip compression.
-* Add an `http10_keepalive` option to allow disabling
+* Add the `chunked` option to allow disabling chunked
+ transfer-encoding for HTTP/1.1 connections.
+
+* Add the `http10_keepalive` option to allow disabling
keep-alive for HTTP/1.0 connections.
-* Add an `idle_timeout` option for HTTP/2.
+* Add the `idle_timeout` option for HTTP/2.
-* Add a `sendfile` option to both HTTP/1.1 and HTTP/2.
+* Add the `sendfile` option to both HTTP/1.1 and HTTP/2.
It allows disabling the sendfile syscall entirely for
all connections. It is recommended to disable sendfile
when using VirtualBox shared folders.
* Add the `rate_limited/2` callback to REST handlers.
-* Add a `deflate_opts` option to Websocket handlers that
+* Add the `deflate_opts` option to Websocket handlers that
allows configuring deflate options for the
permessage-deflate extension.
-* Add a `charset` option to `cowboy_static`.
+* Add the `charset` option to `cowboy_static`.
* Add support for the SameSite cookie attribute.
@@ -81,8 +84,9 @@ experimental.
handlers and Websocket handlers. This can be used
to update options on a per-request basis. Allow
overriding the `idle_timeout` option for both
- HTTP/1.1 and Websocket, and the `cowboy_compress_h`
- options for HTTP/1.1 and HTTP/2.
+ HTTP/1.1 and Websocket, the `cowboy_compress_h`
+ options for HTTP/1.1 and HTTP/2 and the `chunked`
+ option for HTTP/1.1.
=== Bugs fixed