<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gun.git/ebin, branch 2.0.0</title>
<subtitle>HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/'/>
<entry>
<title>Update version to 2.0.0</title>
<updated>2023-01-23T13:14:57+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2023-01-23T13:14:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=33223e751267c5f249f3db1277c13904a1801b92'/>
<id>33223e751267c5f249f3db1277c13904a1801b92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document Websocket subprotocol negotiation</title>
<updated>2022-12-05T16:22:09+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2022-12-05T16:22:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=172800967c2d53251d7cb1015e3c957c5b065bb1'/>
<id>172800967c2d53251d7cb1015e3c957c5b065bb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Gun 2.0.0-rc.2</title>
<updated>2021-05-24T15:44:07+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2021-05-24T15:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=f9175998687678e227bdd49669e2d83f0648fa57'/>
<id>f9175998687678e227bdd49669e2d83f0648fa57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit for Gun pools</title>
<updated>2021-02-07T16:31:38+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2021-01-11T14:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=36fdf30fcf09a8ffe20c3498ac0b58de0971fd7d'/>
<id>36fdf30fcf09a8ffe20c3498ac0b58de0971fd7d</id>
<content type='text'>
The approach taken here is very similar to what browsers are
doing. A separate pool is created for each host/port/scope.
The authority (host header) is used to determine which pool
will execute requests. A connection process is semi-randomly
chosen, from the connections that have capacity. Maximum
capacity is determined by the protocol (the HTTP/2 setting
set by the server is used, for example). Multiple processes
can process requests/responses on the same connection
concurrently. There is no need to "give back" the response
to the pool, the number of ongoing streams is maintained via
an event handler.

The implementation is currently not strict, there may be
more attempts to create requests than there is capacity.
I'm not sure if it should be made strict or if Gun should
just wait before sending requests (it only matters in the
HTTP/2 case at the moment).

When there is no connection with capacity available in the
pool (because they have too many streams, or are reconnecting,
or any other reason), checking out fails. There is no timeout
to wait for a connection to be available. On the other hand
the checkout_retry option allows setting multiple timeouts
to retry checking out a connection. Each retry attempt's
wait time can have a different value.

The initial implementation of this work was sponsored by
Kobil and made at the suggestion of Ilya Khaprov.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The approach taken here is very similar to what browsers are
doing. A separate pool is created for each host/port/scope.
The authority (host header) is used to determine which pool
will execute requests. A connection process is semi-randomly
chosen, from the connections that have capacity. Maximum
capacity is determined by the protocol (the HTTP/2 setting
set by the server is used, for example). Multiple processes
can process requests/responses on the same connection
concurrently. There is no need to "give back" the response
to the pool, the number of ongoing streams is maintained via
an event handler.

The implementation is currently not strict, there may be
more attempts to create requests than there is capacity.
I'm not sure if it should be made strict or if Gun should
just wait before sending requests (it only matters in the
HTTP/2 case at the moment).

When there is no connection with capacity available in the
pool (because they have too many streams, or are reconnecting,
or any other reason), checking out fails. There is no timeout
to wait for a connection to be available. On the other hand
the checkout_retry option allows setting multiple timeouts
to retry checking out a connection. Each retry attempt's
wait time can have a different value.

The initial implementation of this work was sponsored by
Kobil and made at the suggestion of Ilya Khaprov.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change version to Gun 2.0.0-rc.1</title>
<updated>2020-11-12T13:11:34+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-11-12T13:11:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=7dabafe7a93582c71cdabc3c41a609f582afd7d1'/>
<id>7dabafe7a93582c71cdabc3c41a609f582afd7d1</id>
<content type='text'>
We are about one week before the actual release.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We are about one week before the actual release.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial success for h2 CONNECT -&gt; https CONNECT -&gt; https</title>
<updated>2020-09-21T13:52:26+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-09-18T15:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=8033850ab81ca0639489636bb8760d93900d4a80'/>
<id>8033850ab81ca0639489636bb8760d93900d4a80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor protocol handling via gun_protocols</title>
<updated>2020-09-21T13:51:58+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-08-26T11:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=3de0604eec218996dad4db59c0cc96092cd7e0e7'/>
<id>3de0604eec218996dad4db59c0cc96092cd7e0e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>First working HTTPS over secure HTTP/2</title>
<updated>2020-09-21T13:51:57+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-08-19T15:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=ca68d184abbf7bd1030b2f2035cc66c13d08dd5d'/>
<id>ca68d184abbf7bd1030b2f2035cc66c13d08dd5d</id>
<content type='text'>
Has a timer:sleep/1 though because there is currently no way
to wait for the TLS handshake to complete.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Has a timer:sleep/1 though because there is currently no way
to wait for the TLS handshake to complete.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial HTTP/2 CONNECT implementation</title>
<updated>2020-09-21T13:51:46+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-07-16T12:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=a093bf88e1740e4f89937d84cd4d5b26cb5b4e80'/>
<id>a093bf88e1740e4f89937d84cd4d5b26cb5b4e80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Gun 2.0.0-pre.2</title>
<updated>2020-03-25T11:21:47+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2020-03-25T11:21:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/gun.git/commit/?id=d1d02a0ebc1a5d9852b7fe5216ac4ce628fb1744'/>
<id>d1d02a0ebc1a5d9852b7fe5216ac4ce628fb1744</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
