Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-22 | Print a warning when discarding an option on listener startup | Loïc Hoguin | |
2015-08-20 | Ensure ranch_conns_sup doesn't crash on protocol start crash | Loïc Hoguin | |
2015-08-20 | Add tests and more docs about separate supervisor/connection | Loïc Hoguin | |
2015-08-20 | Supervised and connection process can now be different | Loïc Hoguin | |
2015-08-20 | Filter out all unknown options, not just 2-tuple ones | Loïc Hoguin | |
For example 'binary' was making things crash. | |||
2015-08-18 | Welcome to 2015 | Loïc Hoguin | |
2015-08-18 | Update the list of allowed transport options | Loïc Hoguin | |
We are now up to date with regard to transport options we should accept for the listening socket. Documentation of existing options has been updated with regard to recent changes in the OTP docs and type specifications. | |||
2015-08-17 | Don't pass Ranch-specific options down to transports | Loïc Hoguin | |
Should fix Dialyzer issues. The options are now also documented in the Ranch module, and there's new ranch:opt(), ranch_tcp:opt() and ranch_ssl:opt() for use in third party code. | |||
2015-03-06 | Handle Transport:controlling_socket/2 errors and close the socket | Loïc Hoguin | |
2015-03-06 | Fix start_listener spec | Loïc Hoguin | |
2014-11-06 | Update Ranch to 1.1.01.1.0 | Loïc Hoguin | |
2014-11-06 | Update erlang.mk | Loïc Hoguin | |
2014-11-02 | support ssl partial_chain feature | Andre Graf | |
2014-09-11 | Merge branch 'add_transport_secure' of git://github.com/matrixise/ranch | Loïc Hoguin | |
2014-09-11 | Merge branch 'ssl_closed' of git://github.com/yjh0502/ranch | Loïc Hoguin | |
2014-09-11 | Don't report error on ssl {error, closed} | Jihyun Yu | |
SSL socket might be closed on accept_ack, it happens quite often and it is not a problem, so don't report error on the case. | |||
2014-09-02 | Add Transport:secure/0 | Stéphane Wirtel | |
Currently Ranch checks if a connection is secure by checking if its name is 'ssl'. This isn't a very modular solution, adding an API function that returns whether a connection is secure. | |||
2014-08-01 | Update Ranch to 1.0.0 | Loïc Hoguin | |
2014-06-10 | Update Ranch to 0.100.10.0 | Loïc Hoguin | |
2014-06-10 | Update copyright years | Loïc Hoguin | |
2014-06-03 | Merge branch 'fix_inherit' of git://github.com/nevar/ranch | Loïc Hoguin | |
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 | |