Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-19 | Unconditionally run tests that use tracing | Loïc Hoguin | |
2021-04-19 | Unconditionally run SNI/getstat tests | Loïc Hoguin | |
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 | |
2015-08-17 | Beginnings of modernizing the test suite | Loïc Hoguin | |
Merging because I have to do other work but this is still a nice enough improvement. | |||
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. | |||
2013-06-20 | Add asn1 to the list of applications that need to be started for SSL | Loïc Hoguin | |
2013-05-01 | Use ct_helper to generate SSL certificates for testing | 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-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 | Add test to check setting max conenctions does not crash any processes | James Fish | |
This is a regression test to prevent a previous bug. |