Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-07 | Replace gen_server with gen_statem in examples | j.uhlig | |
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 | Depend on Ranch master in examples1.3.1 | Michael Klishin | |
Otherwise they are pinned to 1.2.1. Per discussion with @essen. | |||
2016-11-24 | Don't include observer in example release | Loïc Hoguin | |
2016-11-24 | Update copyright year | Loïc Hoguin | |
2016-11-15 | Remove examples .app.src files | Loïc Hoguin | |
2016-11-15 | Properly handle Ctrl+D in examples | Loïc Hoguin | |
2016-11-15 | Remove bad advice for gen_server protocols | Loïc Hoguin | |
Also improves the good example a little by using spawn_link instead of start_link. | |||
2015-03-06 | Fix examples README | Loïc Hoguin | |
2014-08-01 | Update examples Makefile1.0.0 | Loïc Hoguin | |
2013-12-07 | Examples must follow master | Loïc Hoguin | |
2013-12-07 | Fix small issues and style of the examples | Loïc Hoguin | |
2013-12-05 | Update tcp_echo example to use erlang.mk | josh rotenberg | |
2013-12-04 | Add example using gen_server | josh rotenberg | |
2013-04-01 | Remove ranch_listener and replace ListenerPid by Ref | Loïc Hoguin | |
We just don't need this process anymore. Less, simpler code! API changes: * Protocols start_link first argument is now Ref instead of ListenerPid * ranch:accept_ack/1 argument is now Ref instead of ListenerPid * ranch_listener:remove_connection/1 becomes ranch:remove_connection/1 and its argument is now Ref instead of ListenerPid Ref is the name of the listener given as first argument to start_listener/6. | |||
2012-08-07 | Add a TCP Echo protocol example | Loïc Hoguin | |