Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-15 | Add a test for double removal of connections | Loïc Hoguin | |
2013-04-01 | Remove ranch_listener and replace ListenerPid by Ref | Loïc Hoguin | |
We just don't need this process anymore. Less, simpler code! API changes: * Protocols start_link first argument is now Ref instead of ListenerPid * ranch:accept_ack/1 argument is now Ref instead of ListenerPid * ranch_listener:remove_connection/1 becomes ranch:remove_connection/1 and its argument is now Ref instead of ListenerPid Ref is the name of the listener given as first argument to start_listener/6. | |||
2012-08-20 | Add the 'ranch_protocol' behaviour | Loïc Hoguin | |
2012-08-15 | Add tests for {active, once} for both TCP and SSL | Loïc Hoguin | |
2012-08-06 | Make accept asynchronous | Loïc Hoguin | |
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. |