Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
They are now properly documented and the listener name is
automatically specified thanks to a new ct_helper function.
|
|
Merging because I have to do other work but this is still a
nice enough improvement.
|
|
Implements the `shutdown` option as documented previously.
|