Merge branch 'master' of github.com:processone/ejabberd
This commit is contained in:
commit
ae4356265f
|
@ -201,8 +201,8 @@ parse_headers(#state{request_method = Method,
|
|||
trail = Data} =
|
||||
State) ->
|
||||
PktType = case Method of
|
||||
undefined -> http;
|
||||
_ -> httph
|
||||
undefined -> http_bin;
|
||||
_ -> httph_bin
|
||||
end,
|
||||
case erlang:decode_packet(PktType, Data, []) of
|
||||
{ok, Pkt, Rest} ->
|
||||
|
|
Loading…
Reference in New Issue