Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-03 | Suppress dialyzer warnings for local addresses with ssl | juhlig | |
2019-06-03 | Skip privileged ports tests on MacOS | juhlig | |
2019-06-03 | Fix many conns_sups tests for Windows | juhlig | |
2019-05-18 | Add tests for active N mode | juhlig | |
2019-05-18 | Add support for UNIX domain sockets | juhlig | |
It was working already but the types were wrong and some small details needed to be corrected. | |||
2019-05-12 | Add experimental num_listen_sockets option | juhlig | |
2019-05-09 | Use ssl:handshake instead of ssl:ssl_accept | Loïc Hoguin | |
This makes Ranch require OTP-21+. The function ranch:accept_ack/1 was also removed in this commit. | |||
2019-05-08 | Add the num_conns_sups option | juhlig | |
This new option allows configuring the number of connection supervisors. The old behavior can be obtained by setting this value to 1. A value larger than num_acceptors will result in some connection supervisors not being used as the acceptors currently only use one connection supervisor. | |||
2019-05-06 | Create one ranch_conns_sup per num_acceptor | juhlig | |
This gets rid of a bottleneck that occurs when many connections are handled by a single supervisor. The bigger issue occurred when many connections were dropped at once and the supervisor couldn't keep up. | |||
2019-04-29 | Remove socket option | j.uhlig | |
2019-04-29 | Fix repeated removal of connections | juhlig | |
Due to a typo, repeated calls to ranch:remove_connection/1 from a worker process would crash the respective ranch_conns_sup. | |||
2018-10-10 | Fix a race condition on restart after listener_sup crash | Loïc Hoguin | |
The race condition occurs when the restart is faster than the cleaning up. With this commit the restart will perform the cleanup if it was not done beforehand. | |||
2018-08-01 | Use fn/1,2 instead of fn/{1,2} everywhere | Loïc Hoguin | |
2018-08-01 | Fix a test failing in native mode | Loïc Hoguin | |
2018-07-05 | Add a logger transport option | Loïc Hoguin | |
I had to use the process dictionary to work around the current interface for one log call. You have been warned. | |||
2018-07-04 | Enable TLS upgrades via ranch_ssl:handshake/3 | Loïc Hoguin | |
Based on the work done by @juhlig. | |||
2018-07-04 | Better distinguish between Ranch and socket options | Loïc Hoguin | |
A map should now be used when specifying transport options that contain more than just socket options. It is still possible to pass a list of socket options directly as a convenience. The ack_timeout is renamed to handshake_timeout when specified as a map. This corresponds to the new function ranch:handshake/1,2 that will be favored in Ranch 2.0. Specifying Ranch-specific options via the proplist will no longer be possible starting from Ranch 2.0. | |||
2018-07-02 | Introduce Transport:handshake/1,2 | j.uhlig | |
This commit deprecates Transport:accept_ack/1 in favor of a new forward-compatible function. Transport:handshake/1,2 will use ssl:handshake/2,3 from Ranch 2.0 onward. | |||
2018-05-23 | Fix intermittent test failure of misc_wait_for_connections | j.uhlig | |
2018-05-17 | Add a function to wait for number of connections | j.uhlig | |
LH: Reworked validation style and added a -dialyzer attribute to acceptor_SUITE to silence expected errors. | |||
2018-05-16 | Add nowarn_export_all to test suites | Loïc Hoguin | |
2018-05-16 | Ensure listener restart with changed TransOpts | j.uhlig | |
2018-05-02 | Add suspend/resume of listeners and update of transport options | j.uhlig | |
This allows graceful draining of connections, updating transport options on a running listener without having to drop connections and other similar scenarios. Note that when updating transport options the listener must be suspended which means that new connections will be rejected until the listener is resumed. | |||
2018-04-10 | Ranch 1.5.01.5.0 | Loïc Hoguin | |
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-11-16 | Disable eacces tests on Windows | Loïc Hoguin | |
Windows apparently does not have privileged ports, anyone can open sockets on ports < 1024. | |||
2017-11-16 | Disable tests that use tracing when +native is used | Loïc Hoguin | |
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-25 | Small variable name tweak for better English | Loïc Hoguin | |
2016-11-24 | Fix a test error on FreeBSD | Loïc Hoguin | |
2016-11-24 | Wait before calling ranch:info() in tests | Loïc Hoguin | |
Otherwise gen_tcp doesn't have enough time to connect. | |||
2016-11-24 | Add ranch:info/0 and ranch:procs/2 | Loïc Hoguin | |
Provides detailed information about Ranch listeners | |||
2016-11-24 | Update copyright year | Loïc Hoguin | |
2016-11-15 | Add a test for double removal of connections | Loïc Hoguin | |
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-08 | Check for the SSL version for SNI instead of Makefile | Loïc Hoguin | |
2016-11-08 | Skip SNI tests on OTP<18 in CI | 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-10-10 | Start tracing before starting the listener in tests | Loïc Hoguin | |
2015-08-22 | Print a warning when discarding an option on listener startup | Loïc Hoguin | |
2015-08-20 | More test suites refactoring | Loïc Hoguin | |
They are now properly documented and the listener name is automatically specified thanks to a new ct_helper function. | |||
2015-08-20 | Fix another intermittent test issue | Loïc Hoguin | |
2015-08-20 | Hopefully fix an intermittent test failure | 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 | Alphabetical order tests | Loïc Hoguin | |