diff options
author | Loïc Hoguin <[email protected]> | 2012-01-30 09:34:29 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-01-31 08:49:15 +0100 |
commit | e5aef5c1d7be8cffedfedda77d035fa30d5513dc (patch) | |
tree | ae6d7e64779299ab6a26208d83f1c56d345c7587 /src/cowboy_protocol.erl | |
parent | 830cfc002e992126a2c605594f25d40a5a193968 (diff) | |
download | cowboy-e5aef5c1d7be8cffedfedda77d035fa30d5513dc.tar.gz cowboy-e5aef5c1d7be8cffedfedda77d035fa30d5513dc.tar.bz2 cowboy-e5aef5c1d7be8cffedfedda77d035fa30d5513dc.zip |
Add cowboy:get_protocol_options/1 and cowboy_set_protocol_options/2
This allows any application to upgrade the protocol options without
having to restart the listener. This is most useful to update the
dispatch list of HTTP servers, for example.
The upgrade is done at the acceptor level, meaning only new connections
receive the new protocol options.
Diffstat (limited to 'src/cowboy_protocol.erl')
0 files changed, 0 insertions, 0 deletions