diff options
author | Loïc Hoguin <[email protected]> | 2011-10-06 12:40:04 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-10-06 12:40:04 +0200 |
commit | 8e835bce9fc28f5ddfd3a0818d5ec0e776182b27 (patch) | |
tree | 06374f6e1c47ea9f85b2ed76c88e63c3fad2827d /test/http_handler.erl | |
parent | 237b468f42c57d603c6dfcd99c98aaeacec6ba92 (diff) | |
download | cowboy-8e835bce9fc28f5ddfd3a0818d5ec0e776182b27.tar.gz cowboy-8e835bce9fc28f5ddfd3a0818d5ec0e776182b27.tar.bz2 cowboy-8e835bce9fc28f5ddfd3a0818d5ec0e776182b27.zip |
Close the connection when the application sends Connection: close
Now Cowboy checks headers sent to the client for the 'Connection'
header value, parses it, and checks whether it contains a 'close'
or 'keep-alive' value. It makes sure to close or keep the connection
alive depending on the value found there, if any.
Also change chunked replies to not close the connection by default
unless the application requests it.
Diffstat (limited to 'test/http_handler.erl')
0 files changed, 0 insertions, 0 deletions