0
Fork 0
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:
Loïc Hoguin 2011-12-19 08:56:48 +01:00
parent 740931131b
commit f9bd5d1061

View file

@ -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.