<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cowboy.git/src, branch 2.10.0</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>Fix data sent after RST_STREAM in HTTP/2 in rare cases</title>
<updated>2022-09-19T12:10:32+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2022-09-19T12:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=105edf1d6e47648f4ee96ef47989ae43b8d826d0'/>
<id>105edf1d6e47648f4ee96ef47989ae43b8d826d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>AcceptCallback may now return created/see_other tuples for POST</title>
<updated>2020-11-27T15:17:43+00:00</updated>
<author>
<name>Martin Björklund</name>
<email>mbj4668@gmail.com</email>
</author>
<published>2020-09-11T10:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=8795233c57f1f472781a22ffbf186ce38cc5b049'/>
<id>8795233c57f1f472781a22ffbf186ce38cc5b049</id>
<content type='text'>
They replace and deprecate the {true,URI} return value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They replace and deprecate the {true,URI} return value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Also include trace messages when timestamp flag isn't used</title>
<updated>2020-11-27T15:02:54+00:00</updated>
<author>
<name>Sebastian Strollo</name>
<email>seb@strollo.org</email>
</author>
<published>2020-11-20T23:28:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=63a6b86fbae1190ba78dceb196588fdcae50e17a'/>
<id>63a6b86fbae1190ba78dceb196588fdcae50e17a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use functions for inititalizing rate limiting</title>
<updated>2020-11-27T14:51:09+00:00</updated>
<author>
<name>Simon Johansson</name>
<email>ampleyfly@gmail.com</email>
</author>
<published>2020-11-02T10:12:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=f6049b85a3f55da7edd47a84ec1919a62a881aec'/>
<id>f6049b85a3f55da7edd47a84ec1919a62a881aec</id>
<content type='text'>
... to ensure that the same values are used in all places.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to ensure that the same values are used in all places.
</pre>
</div>
</content>
</entry>
<entry>
<title>Graceful shutdown</title>
<updated>2020-11-27T14:38:21+00:00</updated>
<author>
<name>Viktor Söderqvist</name>
<email>viktor.soderqvist@est.tech</email>
</author>
<published>2020-10-08T15:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=059d58d39fb12765fa6e42c8d95c861ac85c23e2'/>
<id>059d58d39fb12765fa6e42c8d95c861ac85c23e2</id>
<content type='text'>
Note: This commit makes cowboy depend on cowlib master.

Graceful shutdown for HTTP/2:

1. A GOAWAY frame with the last stream id set to 2^31-1 is sent and a
   timer is started (goaway_initial_timeout, default 1000ms), to wait
   for any in-flight requests sent by the client, and the status is set
   to 'closing_initiated'. If the client responds with GOAWAY and closes
   the connection, we're done.
2. A second GOAWAY frame is sent with the actual last stream id and the
   status is set to 'closing'. If no streams exist, the connection
   terminates. Otherwise a second timer (goaway_complete_timeout,
   default 3000ms) is started, to wait for the streams to complete. New
   streams are not accepted when status is 'closing'.
3. If all streams haven't completed after the second timeout, the
   connection is forcefully terminated.

Graceful shutdown for HTTP/1.x:

1. If a request is currently being handled, it is waited for and the
   response is sent back to the client with the header "Connection:
   close". Then, the connection is closed.
2. If the current request handler is not finished within the time
   configured in transport option 'shutdown' (default 5000ms), the
   connection process is killed by its supervisor (ranch).

Implemented for HTTP/1.x and HTTP/2 in the following scenarios:

* When receiving exit signal 'shutdown' from the supervisor (e.g. when
  cowboy:stop_listener/3 is called).
* When a connection process is requested to terminate using
  sys:terminate/2,3.

LH: Edited tests a bit and added todos for useful tests to add.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: This commit makes cowboy depend on cowlib master.

Graceful shutdown for HTTP/2:

1. A GOAWAY frame with the last stream id set to 2^31-1 is sent and a
   timer is started (goaway_initial_timeout, default 1000ms), to wait
   for any in-flight requests sent by the client, and the status is set
   to 'closing_initiated'. If the client responds with GOAWAY and closes
   the connection, we're done.
2. A second GOAWAY frame is sent with the actual last stream id and the
   status is set to 'closing'. If no streams exist, the connection
   terminates. Otherwise a second timer (goaway_complete_timeout,
   default 3000ms) is started, to wait for the streams to complete. New
   streams are not accepted when status is 'closing'.
3. If all streams haven't completed after the second timeout, the
   connection is forcefully terminated.

Graceful shutdown for HTTP/1.x:

1. If a request is currently being handled, it is waited for and the
   response is sent back to the client with the header "Connection:
   close". Then, the connection is closed.
2. If the current request handler is not finished within the time
   configured in transport option 'shutdown' (default 5000ms), the
   connection process is killed by its supervisor (ranch).

Implemented for HTTP/1.x and HTTP/2 in the following scenarios:

* When receiving exit signal 'shutdown' from the supervisor (e.g. when
  cowboy:stop_listener/3 is called).
* When a connection process is requested to terminate using
  sys:terminate/2,3.

LH: Edited tests a bit and added todos for useful tests to add.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't produce an error report for normal stream process exits</title>
<updated>2020-11-23T10:02:01+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-11-23T08:53:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=e12d7bbe2151ee727d4cd63eb5df649da9b9effa'/>
<id>e12d7bbe2151ee727d4cd63eb5df649da9b9effa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix concurrent body streaming getting stuck with HTTP/2</title>
<updated>2020-07-03T09:02:59+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-07-03T09:02:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=03d306e6d172eb272a564aa8626d4554d1046455'/>
<id>03d306e6d172eb272a564aa8626d4554d1046455</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>204 and 304 responses must not include a body</title>
<updated>2020-05-20T11:41:05+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-05-20T11:41:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=39b2816255503910dc23e2fdf703ee63bbc8953e'/>
<id>39b2816255503910dc23e2fdf703ee63bbc8953e</id>
<content type='text'>
When calling cowboy_req:reply/4 with a body a crash will occur
resulting in a 500 response. When calling cowboy_req:stream_reply/2,3
and then attempting to send a body a crash will occur.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When calling cowboy_req:reply/4 with a body a crash will occur
resulting in a 500 response. When calling cowboy_req:stream_reply/2,3
and then attempting to send a body a crash will occur.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase the default max_keepalive HTTP option to 1000</title>
<updated>2020-05-20T09:08:58+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-05-20T09:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=8337aca4d31ffa8120704057675aacbbaa280975'/>
<id>8337aca4d31ffa8120704057675aacbbaa280975</id>
<content type='text'>
100 is very low for current deployments. 1000 is more
appropriate as a default value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
100 is very low for current deployments. 1000 is more
appropriate as a default value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Experiment with a linger_timeout for HTTP/2</title>
<updated>2020-04-06T12:50:35+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-04-06T12:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/cowboy.git/commit/?id=775091134dc49633595cfc5956612df0c5702c0f'/>
<id>775091134dc49633595cfc5956612df0c5702c0f</id>
<content type='text'>
This is mostly to ensure that the GOAWAY frame is properly
received on Windows in some tests, but should be benefitial
also in production in particular when clients are slower.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is mostly to ensure that the GOAWAY frame is properly
received on Windows in some tests, but should be benefitial
also in production in particular when clients are slower.
</pre>
</div>
</content>
</entry>
</feed>
