Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-03 | Fix inherit listen options for accepted socket | Slava Yurin | |
Order of options in listen is undocumented but significant. Now user option will replace default value if user set it. | |||
2014-04-30 | additional ssl option support | Ransom Richardson | |
2014-04-23 | Ignore some errors that may occur during handshake | Loïc Hoguin | |
These errors just pollute the logs when garbage is sent to the socket. Exit the process normally to avoid unwanted logs. | |||
2013-12-07 | Add Transport:shutdown/2 | Loïc Hoguin | |
Allows closing the socket in one or two directions. | |||
2013-12-07 | Get rid of a ton of pointless comments | Loïc Hoguin | |
All of it can be found in the manual, which defines what the code must do, and is always up to date unlike the code comments. | |||
2013-12-07 | Add transport options linger, send_timeout, send_timeout_close | Loïc Hoguin | |
2013-12-07 | Merge branch 'connect_timeout' of git://github.com/heroku/ranch | Loïc Hoguin | |
2013-12-07 | Add an error report when a connection process fails to start | Loïc Hoguin | |
Becoming closer to a standard supervisor everyday. | |||
2013-12-07 | Gracefully shutdown when stop_listener/1 is called | Loïc Hoguin | |
Implements the `shutdown` option as documented previously. | |||
2013-11-26 | Add accept_ack on all transports and ack_timeout transport option | Loïc Hoguin | |
Doing this in the connection process allows us to free acceptors to start accepting more connections quicker, especially under load. | |||
2013-11-25 | Small fixes to specs | Loïc Hoguin | |
2013-11-14 | Update Ranch to 0.9.00.9.0 | Loïc Hoguin | |
2013-11-14 | Flush any message acceptors may receive and log them | Loïc Hoguin | |
Inspired by what supervisor does. | |||
2013-11-14 | Fix a socket leak with SSL when ssl_accept fails | Loïc Hoguin | |
2013-11-07 | Implements ranch_transport:connect/4. | Geoff Cant | |
Adds a transport connect method that takes a timeout, with implementations for both ssl and tcp connections. | |||
2013-10-20 | Merge branch 'hibernate_after' of git://github.com/talko/ranch | Loïc Hoguin | |
2013-09-23 | Add hibernate_after ssl option | Ransom Richardson | |
2013-09-22 | Use previous ecc workaround for R16B02 as well | Klaus Trainer | |
The implementation of elliptic-curve ciphers that has been introduced in R16B01 is still incomplete (and broken). This makes our previous workaround (see c0c09a1311) work for R16B02 as well. | |||
2013-08-29 | Include protocol module in error report when connection fails | James Fish | |
2013-08-28 | Don't report error when protocol exits with reason shutdown | James Fish | |
Exiting with reason `shutdown` or `{shutdown, term()}` is not an error. | |||
2013-08-27 | Print an error if the supervisor receives an unexpected message | Loïc Hoguin | |
2013-08-27 | Close the socket if no child process was started | Loïc Hoguin | |
2013-08-27 | Merge branch 'add-offset-sendfile' of git://github.com/fishcakez/ranch | Loïc Hoguin | |
2013-08-24 | Update Ranch to 0.8.50.8.5 | Loïc Hoguin | |
2013-08-20 | Report errors when connection processes fail | Loïc Hoguin | |
2013-08-16 | Add Transport:sendfile/4,/5 | James Fish | |
Adds offset based sendfile to transports. Same behaviour as file:sendfile/4,/5 except socket and file arguments are reversed and either a raw file or a filename can be used. sendfile/2,/4,/5 now compulsory callbacks in ranch_transport. ranch_tcp:sendfile/2 now defaults to a chunk_size of 8191 - the default for ranch_ssl:sendfile/2. The same default is used for both ranch_tcp:sendfile/4,5 and ranch_ssl:sendfile/4,5. | |||
2013-07-24 | Work around broken elliptic-curve cipher suites | Klaus Trainer | |
Unfortunately the implementation of elliptic-curve ciphers that has been introduced in R16B01 is incomplete. Depending on the particular client, this can cause the TLS handshake to break during key agreement. As it turns out that most popular browsers (e.g. Firefox, Chromium, and Safari) are affected by this bug, we provide this workaround. This workaround makes sure that only cipher suite implementations that are not known to be broken are supported by default. | |||
2013-06-27 | Remove unknown keys from .app.src file | Loïc Hoguin | |
2013-06-20 | Update Ranch to 0.8.40.8.4 | Loïc Hoguin | |
2013-06-20 | Add asn1 to the list of applications that need to be started for SSL | Loïc Hoguin | |
2013-06-19 | Catch exceptions in ranch_conns_sup:active_connections/1 | Loïc Hoguin | |
It can be called from other nodes too. | |||
2013-06-19 | Fix which_children call which returned incorrect values | Loïc Hoguin | |
Not everything stored in the process dictionary is a pid, because we use proc_lib. Thanks to the cool spanish girl at the EUC 2013 for highlighting this issue, and sorry I forgot your name. | |||
2013-06-07 | Add support for additional ssl options. | Ransom Richardson | |
2013-05-16 | Update Ranch to 0.8.30.8.3 | Loïc Hoguin | |
2013-05-16 | Add ranch_ssl:opts() type | Loïc Hoguin | |
2013-05-16 | Add ranch_tcp:opts() type | Loïc Hoguin | |
2013-05-16 | Fix typespecs for ranch:filter_options/3 | Loïc Hoguin | |
2013-05-16 | Add ranch:ref() type | Loïc Hoguin | |
2013-05-01 | Update Ranch to 0.8.20.8.2 | Loïc Hoguin | |
2013-04-30 | Merge branch 'ssl_listen_nofile' of git://github.com/archaelus/ranch | Loïc Hoguin | |
2013-04-29 | Allow connection processes to be supervisors | Loïc Hoguin | |
2013-04-28 | Allow ranch_ssl to use DER cert/key/ca options. | Geoff Cant | |
The Erlang SSL library allows keys, certs and cacerts to be passed either as DER encoded binaries or in PEM encoded files. This patch allows ranch_ssl to be configured in either manner. | |||
2013-04-12 | Update Ranch to 0.8.10.8.1 | Loïc Hoguin | |
2013-04-08 | Never tries to ssl_accept with an infinity timeout | Loïc Hoguin | |
This should be an acceptable temporary solution to the ssl_accept problem. We no longer have to worry about acceptors being dead because ssl_accept never returned. | |||
2013-04-08 | Wait in the acceptor if we get emfile errors | Loïc Hoguin | |
This should avoid using all CPU because we keep trying to accept. | |||
2013-04-02 | Update Ranch to 0.8.00.8.0 | Loïc Hoguin | |
2013-04-02 | Fix ranch_server:set_connections_sup/2 race conditions | James Fish | |
A ranch_conns_sup could be (re)started and call ranch_server:set_connections_sup/2 before ranch_server has handled the predecessor's exit. This would cause the ranch_server to crash because ets:insert_new/2 would return false. This change allows ranch_server to handle this case by crashing the calling process instead of itself. | |||
2013-04-02 | Merge branch 'server-state-recover' of git://github.com/fishcakez/ranch | Loïc Hoguin | |
2013-04-02 | Add ranch_server state recovery | James Fish | |
When ranch_server crashes it will now remonitor previously registered ranch_conns_sup processes so they can be removed from the registry when they die. | |||
2013-04-02 | Merge branch 'fix/sendfile-badmatch' of git://github.com/soundrop/ranch | Loïc Hoguin | |