aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-10-06 12:40:04 +0200
committerLoïc Hoguin <[email protected]>2011-10-06 12:40:04 +0200
commit8e835bce9fc28f5ddfd3a0818d5ec0e776182b27 (patch)
tree06374f6e1c47ea9f85b2ed76c88e63c3fad2827d /test/http_handler.erl
parent237b468f42c57d603c6dfcd99c98aaeacec6ba92 (diff)
downloadcowboy-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