Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-10 | Prevent ranch_conns_sup from stopping on unexpected messages | Loïc Hoguin | |
2018-03-14 | Fix ranch:info/0 and ranch:procs/2 in embedded mode | j.uhlig | |
2018-01-22 | Added transport functions getopts/2, getstat/1 and getstat/2 | Jan Uhlig | |
2017-06-07 | Update Copyright to 20171.4.0 | Loïc Hoguin | |
2017-05-31 | Deprecated ranch:start_listener/6 and child_spec/6 | Loïc Hoguin | |
The NumAcceptors argument has been moved to transport option num_acceptor, which defaults to 10. The functions now take one less argument. The old functions are still here, though deprecated. | |||
2017-01-31 | Format eacces errors in a more readable way | Michael Klishin | |
Amended with small whitespace changes and removing an unused clause. | |||
2016-11-24 | Add ranch:info/0 and ranch:procs/2 | Loïc Hoguin | |
Provides detailed information about Ranch listeners | |||
2016-11-24 | Don't attempt to start ssl anymore | Loïc Hoguin | |
Ranch now depends on SSL. Users embedding listeners in their supervision tree are expected to depend on SSL too if they are using it. | |||
2016-11-24 | Update copyright year | Loïc Hoguin | |
2016-11-15 | Fix acceptors getting stuck because of socket errors | Loïc Hoguin | |
We always get the acceptor to resume. The child process will be killed, and the current code will ignore any EXIT message when that happens because the pid isn't in the process dictionary. | |||
2016-11-15 | Track removed connections | James Fish | |
2016-11-15 | Improve error reporting | Alexey Lebedeff | |
Simplify some return values, improve error messages for eaddrinuse and no_cert. Amended to add tests and simpler code. Also hides the contents of cert and key transport options, if any. | |||
2016-11-15 | Add ssl to the list of dependencies | Loïc Hoguin | |
2016-11-08 | Allow listening with only SNI options | Loïc Hoguin | |
Cert/certfile is no longer required if SNI options are provided. | |||
2016-11-08 | Blacklist listen options instead of whitelist | Loïc Hoguin | |
Dialyzer will still complain about unknown options, but at least users won't be stuck waiting for an upstream update. | |||
2016-11-01 | Add SSL options for legacy software interoperability | Alexandru Munteanu | |
2016-10-10 | Prevent a race condition when stopping listeners | Loïc Hoguin | |
In some cases the ranch_server:get_connections_sup/1 call could still succeed depending on timing. | |||
2016-10-10 | Ignore ets:delete/2 return value, always true | Loïc Hoguin | |
2016-10-09 | Make values for the TLS 1.2 signature_algorithms extension configurable | Victor | |
Added in ssl-7.3.1 (OTP-13261). Documented in ssl-8.0. | |||
2016-09-19 | Don't silently drop the accept rate | Maas-Maarten Zeeman | |
2016-09-19 | Renaming NbAcceptors to NumAcceptors | ferigis | |
2016-09-19 | Add ipv6_v6only listen option | Marc Worrell | |
2015-12-18 | Update to 1.2.11.2.1 | Loïc Hoguin | |
2015-12-18 | Use the default restart intensity in all supervisors | Loïc Hoguin | |
This reduces from 10 restarts in 10 seconds to 1 restart in 5 seconds. This is the new default in OTP 18, and it fits the kinds of processes that Ranch deals with: * Supervisors: default makes sense. * Acceptors: they crash on socket error. They'll probably crash again if the socket didn't change. * Connection processes: they are never restarted. | |||
2015-12-18 | Fix node shutdown getting stuck | Loïc Hoguin | |
When SSL is stopped before Ranch, the acceptors crash and Ranch tries to restart them. The problem is that the ranch_ssl:listen/1 call was trying to start the SSL application to make sure it works (an old artifact from when releases were not ubiquitous). Because the application controller is trying to shutdown Ranch, and Ranch tries to tell it to start an application, everything would get stuck. To avoid a breaking change, we move this in the start_listener call (or child_spec). Note that there are still logs when the SSL application is closed, because the acceptors crash. But at least we don't block node shutdown anymore. In Ranch 2.0, we will implement the proper fix which is to simply depend on the SSL application normally. Nowadays, it's not too difficult to build a release that excludes applications we don't want, although we should document that in the Ranch user guide. | |||
2015-11-16 | Update to 1.2.01.2.0 | Loïc Hoguin | |
2015-10-16 | Update to 1.2.0-rc.11.2.0-rc.1 | Loïc Hoguin | |
2015-08-25 | Add an error message when Transport:listen fails | Loïc Hoguin | |
Should be more user friendly. | |||
2015-08-25 | Add ranch:get_addr/1 | Loïc Hoguin | |
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 | |