diff options
author | Loïc Hoguin <[email protected]> | 2018-07-04 10:57:05 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-07-04 10:57:05 +0200 |
commit | b400e34386ec0dc3f290da6c4671d7d0621d2fe6 (patch) | |
tree | 2a59bcbe0ffbdb15ed7c22465b1473dbe1ba0502 /src/ranch_transport.erl | |
parent | f4a4843b1b242a3ee0de3f6dd76703f7c6492213 (diff) | |
download | ranch-b400e34386ec0dc3f290da6c4671d7d0621d2fe6.tar.gz ranch-b400e34386ec0dc3f290da6c4671d7d0621d2fe6.tar.bz2 ranch-b400e34386ec0dc3f290da6c4671d7d0621d2fe6.zip |
Better distinguish between Ranch and socket options
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.
Diffstat (limited to 'src/ranch_transport.erl')
0 files changed, 0 insertions, 0 deletions