aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_acceptors_sup.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-14 01:26:02 +0200
committerLoïc Hoguin <[email protected]>2011-04-14 01:32:02 +0200
commitc32db277c82054597ac4200424fa4cbe55448ea8 (patch)
treebf0921a6fe8d0de3fa9729195dfea45b8d1c1305 /src/cowboy_acceptors_sup.erl
parent4048499af2a19ac876da30236bbf06fe3f7ffdb3 (diff)
downloadcowboy-c32db277c82054597ac4200424fa4cbe55448ea8.tar.gz
cowboy-c32db277c82054597ac4200424fa4cbe55448ea8.tar.bz2
cowboy-c32db277c82054597ac4200424fa4cbe55448ea8.zip
Fix a bug where dupe headers were sent in cowboy_http_req:reply/4.
Now the server defines default headers that can be overwritten by the handler simply by passing them to the reply/4 function. Default headers include, for now, Connection and Content-Length headers. Note that it isn't enough to change the Connection header to close a keep-alive connection server-side.
Diffstat (limited to 'src/cowboy_acceptors_sup.erl')
0 files changed, 0 insertions, 0 deletions