diff options
author | Loïc Hoguin <[email protected]> | 2011-04-14 01:26:02 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-04-14 01:32:02 +0200 |
commit | c32db277c82054597ac4200424fa4cbe55448ea8 (patch) | |
tree | bf0921a6fe8d0de3fa9729195dfea45b8d1c1305 /src/cowboy_http_websocket.erl | |
parent | 4048499af2a19ac876da30236bbf06fe3f7ffdb3 (diff) | |
download | cowboy-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_http_websocket.erl')
0 files changed, 0 insertions, 0 deletions