mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Add missing p_headers and cookies to compacted values
This commit is contained in:
parent
740931131b
commit
f9bd5d1061
1 changed files with 2 additions and 1 deletions
|
@ -503,7 +503,8 @@ upgrade_reply(Status, Headers, Req=#http_req{socket=Socket, transport=Transport,
|
||||||
compact(Req) ->
|
compact(Req) ->
|
||||||
Req#http_req{host=undefined, host_info=undefined, path=undefined,
|
Req#http_req{host=undefined, host_info=undefined, path=undefined,
|
||||||
path_info=undefined, qs_vals=undefined,
|
path_info=undefined, qs_vals=undefined,
|
||||||
bindings=undefined, headers=[]}.
|
bindings=undefined, headers=[],
|
||||||
|
p_headers=[], cookies=[]}.
|
||||||
|
|
||||||
%% Internal.
|
%% Internal.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue