<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ranch.git/test, branch 0.4.0</title>
<subtitle>Socket acceptor pool for TCP protocols.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/'/>
<entry>
<title>Add the 'ranch_protocol' behaviour</title>
<updated>2012-08-20T11:00:55+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-08-20T11:00:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=9cafa5e675065993c117cd94cc903248f5c97991'/>
<id>9cafa5e675065993c117cd94cc903248f5c97991</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for {active, once} for both TCP and SSL</title>
<updated>2012-08-15T12:30:14+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-08-14T10:29:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=d8981b586223af4bffb813e1e76c172828b0810a'/>
<id>d8981b586223af4bffb813e1e76c172828b0810a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check the accept/2 return value for errors</title>
<updated>2012-08-06T12:23:16+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-08-06T12:23:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=eabb029895c8345ccedc41ed28a023d0e75c7e0e'/>
<id>eabb029895c8345ccedc41ed28a023d0e75c7e0e</id>
<content type='text'>
Distinguish the errors from transport_accept and ssl_accept
in ranch_ssl. {error, closed} for the first one means the listening
socket got closed; for the second one it means the connection
socket was.

Ignore all errors except when the listening socket got closed,
where we want to crash to allow opening the socket again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Distinguish the errors from transport_accept and ssl_accept
in ranch_ssl. {error, closed} for the first one means the listening
socket got closed; for the second one it means the connection
socket was.

Ignore all errors except when the listening socket got closed,
where we want to crash to allow opening the socket again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make accept asynchronous</title>
<updated>2012-08-06T11:39:28+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-08-06T11:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=6b354c1124035c54b6648665aafbe7197b34bd0e'/>
<id>6b354c1124035c54b6648665aafbe7197b34bd0e</id>
<content type='text'>
Ranch now accepts connection asynchronously through a separate
process. The accept process is linked to the acceptor, calls
accept and does nothing else but send the socket back to the
acceptor. This allows us to receive messages in the acceptor
to handle upgrades instead of polling. This will also allow us
later to make acceptors system processes.

Remove support for connection pools in favor of a simpler
max_connections setting. Connections can be removed from the
count, allowing us to have as many long-lived connections as
we want while still limiting the number of short-lived ones.

Add max_connections, max_connections with long-lived connections,
and upgrade tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ranch now accepts connection asynchronously through a separate
process. The accept process is linked to the acceptor, calls
accept and does nothing else but send the socket back to the
acceptor. This allows us to receive messages in the acceptor
to handle upgrades instead of polling. This will also allow us
later to make acceptors system processes.

Remove support for connection pools in favor of a simpler
max_connections setting. Connections can be removed from the
count, allowing us to have as many long-lived connections as
we want while still limiting the number of short-lived ones.

Add max_connections, max_connections with long-lived connections,
and upgrade tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce the ranch_server registry, make it handle listeners</title>
<updated>2012-07-25T08:05:15+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-07-24T10:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=b72fe3e67e65c66d979a9651ebc815bdc553601c'/>
<id>b72fe3e67e65c66d979a9651ebc815bdc553601c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an SSL test</title>
<updated>2012-07-22T04:03:46+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-07-22T03:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=ed50a5556a788a9780b5a8f85764b509338c1073'/>
<id>ed50a5556a788a9780b5a8f85764b509338c1073</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for listening on random port numbers (port 0)</title>
<updated>2012-07-22T03:56:55+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2012-07-22T03:50:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=45348170f468fadd73e7541aac5bc6f664475d0d'/>
<id>45348170f468fadd73e7541aac5bc6f664475d0d</id>
<content type='text'>
ranch:get_port/1 returns the given listener's port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ranch:get_port/1 returns the given listener's port.
</pre>
</div>
</content>
</entry>
<entry>
<title>Import the acceptor code from Cowboy</title>
<updated>2012-04-14T15:52:47+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@dev-extend.eu</email>
</author>
<published>2012-04-12T21:22:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/ranch.git/commit/?id=4156fa3ebb978a21b52abf94202bb3d7676f4c03'/>
<id>4156fa3ebb978a21b52abf94202bb3d7676f4c03</id>
<content type='text'>
Modules were renamed. The 'cowboy_' prefix became 'ranch_'.
At the same time, ranch_ssl_transport became ranch_ssl,
and ranch_tcp_transport became ranch_tcp, because appending
'_transport' felt a bit redundant considering SSL and TCP
clearly are transports.

One test has been added to make sure everything is working.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modules were renamed. The 'cowboy_' prefix became 'ranch_'.
At the same time, ranch_ssl_transport became ranch_ssl,
and ranch_tcp_transport became ranch_tcp, because appending
'_transport' felt a bit redundant considering SSL and TCP
clearly are transports.

One test has been added to make sure everything is working.
</pre>
</div>
</content>
</entry>
</feed>
