aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler_long_polling.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-01-30 09:34:29 +0100
committerLoïc Hoguin <[email protected]>2012-01-31 08:49:15 +0100
commite5aef5c1d7be8cffedfedda77d035fa30d5513dc (patch)
treeae6d7e64779299ab6a26208d83f1c56d345c7587 /test/http_handler_long_polling.erl
parent830cfc002e992126a2c605594f25d40a5a193968 (diff)
downloadcowboy-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 'test/http_handler_long_polling.erl')
0 files changed, 0 insertions, 0 deletions