mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Merge branch 'master' of github.com:processone/ejabberd
This commit is contained in:
commit
ae4356265f
1 changed files with 2 additions and 2 deletions
|
@ -201,8 +201,8 @@ parse_headers(#state{request_method = Method,
|
||||||
trail = Data} =
|
trail = Data} =
|
||||||
State) ->
|
State) ->
|
||||||
PktType = case Method of
|
PktType = case Method of
|
||||||
undefined -> http;
|
undefined -> http_bin;
|
||||||
_ -> httph
|
_ -> httph_bin
|
||||||
end,
|
end,
|
||||||
case erlang:decode_packet(PktType, Data, []) of
|
case erlang:decode_packet(PktType, Data, []) of
|
||||||
{ok, Pkt, Rest} ->
|
{ok, Pkt, Rest} ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue