Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-20 | Merge branch 'adt-socket-transport-opt' of git://github.com/basho/ranch | Loïc Hoguin | |
2012-12-20 | Add {socket, Socket} transport option, for accepting on existing sockets | Andrew Thompson | |
2012-12-20 | Return {error, badarg} if start_listener got a bad transport module | Loïc Hoguin | |
2012-12-13 | Improve guide on listening on privileged ports | Loïc Hoguin | |
Making people happy one IRC channel at a time. | |||
2012-12-01 | Add Transport:sendfile/2 support | Loïc Hoguin | |
Uses file:sendfile/2 for TCP, a fallback function for SSL. | |||
2012-12-01 | Fix typespecs for Transport:send/2 | Loïc Hoguin | |
2012-11-22 | Small clarification on the last ssl_auth snippet | Loïc Hoguin | |
2012-11-22 | Add "SSL client authentication" chapter to the guide | Loïc Hoguin | |
2012-11-20 | Error out if Ranch can't be started in the test suite | Loïc Hoguin | |
2012-11-13 | Better markdown in the README | Loïc Hoguin | |
2012-11-12 | Add two values to Ranch application for private use | Loïc Hoguin | |
2012-11-12 | Fix Markdown in the guide | Loïc Hoguin | |
2012-11-12 | Allow IP tuples and more when connecting transports | Loïc Hoguin | |
2012-10-24 | Allow passing the 'verify' option in ranch_ssl | Loïc Hoguin | |
2012-10-24 | Small README fixes | Loïc Hoguin | |
2012-09-26 | Add the {nodelay, boolean()} option controlling TCP_NODELAY | Loïc Hoguin | |
Enabled by default. A comprehensive explanation about TCP_NODELAY and the Nagle algorithm can be found at http://www.stuartcheshire.org/papers/NagleDelayedAck/ | |||
2012-08-22 | Update version to 0.4.00.4.0 | Loïc Hoguin | |
2012-08-22 | Add initial Ranch guide | Loïc Hoguin | |
2012-08-20 | Add the 'ranch_protocol' behaviour | Loïc Hoguin | |
2012-08-20 | Add the 'ranch_transport' behaviour | Loïc Hoguin | |
At the same time we make the 'port' option optional, defaulting to 0. | |||
2012-08-15 | Add tests for {active, once} for both TCP and SSL | Loïc Hoguin | |
2012-08-07 | Add a TCP Echo protocol example | Loïc Hoguin | |
2012-08-06 | Make ranch_sup the owner of the ranch_server ets table | Loïc Hoguin | |
Should prove itself more robust when things go wrong. | |||
2012-08-06 | Check the accept/2 return value for errors | Loïc Hoguin | |
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. | |||
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. | |||
2012-07-25 | Make acceptors query the protocol opts on startup | Loïc Hoguin | |
This way, if a crash happens in one of them after a protocol options upgrade has occured, the restarted acceptor will get the upgraded options as expected, and not the initial ones. | |||
2012-07-25 | Register acceptors through ranch_server | Loïc Hoguin | |
2012-07-25 | Introduce the ranch_server registry, make it handle listeners | Loïc Hoguin | |
2012-07-22 | Add an SSL test | Loïc Hoguin | |
2012-07-22 | Add support for listening on random port numbers (port 0) | Loïc Hoguin | |
ranch:get_port/1 returns the given listener's port. | |||
2012-06-04 | Add Transport:connect/3 and remove types unneeded by R15B+0.2.1 | Loïc Hoguin | |
Also use one export per line to improve future diffs. Bump the version to 0.2.1 to reflect this change. | |||
2012-04-14 | Update version to 0.2.00.2.0 | Loïc Hoguin | |
2012-04-14 | Import the acceptor code from Cowboy | Loïc Hoguin | |
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. | |||
2012-04-12 | Initial commit. | Loïc Hoguin | |