<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cowboy.git/doc/src/guide/streams.asciidoc, branch master</title>
<subtitle>Small, fast, modern HTTP server for Erlang/OTP.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/'/>
<entry>
<title>Rework and improve the decompress stream handler</title>
<updated>2024-01-04T14:50:12+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-01-04T14:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=fd9711d9495e4ddcd41eda7a284dfc7f37c11f15'/>
<id>fd9711d9495e4ddcd41eda7a284dfc7f37c11f15</id>
<content type='text'>
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 &lt;&lt;"gzip"&gt;&gt; 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;&lt;"gzip"&gt;&gt; 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cowboy_decompress_h stream handler</title>
<updated>2023-12-21T14:39:08+00:00</updated>
<author>
<name>jdamanalo</name>
<email>jamanalo5@up.edu.ph</email>
</author>
<published>2023-03-31T07:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=3ed1b24dd6ef6cd3e78a2fa6d600cce082b6984a'/>
<id>3ed1b24dd6ef6cd3e78a2fa6d600cce082b6984a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a skeleton performance chapter to the guide</title>
<updated>2020-01-06T13:04:25+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-01-06T13:04:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=5e0be061bbb2ca8c12037d8baa209487e0bd58c6'/>
<id>5e0be061bbb2ca8c12037d8baa209487e0bd58c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new stream handlers to the guide</title>
<updated>2019-10-07T12:06:37+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2019-10-07T12:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=b350180503ea8ddb25d93169ac87e5e74baf1de5'/>
<id>b350180503ea8ddb25d93169ac87e5e74baf1de5</id>
<content type='text'>
Also link from the guide to manual pages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also link from the guide to manual pages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Write an initial draft of the streams chapter</title>
<updated>2017-07-23T16:54:05+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2017-07-23T16:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=95da4f8f18ae02948b1f33d4eedfd7bf80ef6a6b'/>
<id>95da4f8f18ae02948b1f33d4eedfd7bf80ef6a6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the guide chapter about broken clients</title>
<updated>2017-07-19T20:15:59+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2017-07-19T20:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=a832369a02f163868c6d2d219e94db1eee736ff2'/>
<id>a832369a02f163868c6d2d219e94db1eee736ff2</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove hooks from the user guide</title>
<updated>2017-07-19T17:04:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2017-07-19T17:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=381a193626a94430add700a108e7d9b6fa5babec'/>
<id>381a193626a94430add700a108e7d9b6fa5babec</id>
<content type='text'>
They're gone!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They're gone!
</pre>
</div>
</content>
</entry>
<entry>
<title>Various fixes and tweaks to the user guide</title>
<updated>2017-01-02T13:46:19+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2017-01-02T13:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=271e31c629be2dff93d68e01c9a8a9c5c34b7e2c'/>
<id>271e31c629be2dff93d68e01c9a8a9c5c34b7e2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
