mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Don't crash if 'request_path' has unexpected type
This commit is contained in:
parent
3cba2cb1ec
commit
9f822dd2b8
@ -280,7 +280,7 @@ process_header(State, Data) ->
|
||||
[]),
|
||||
throw(http_request_no_host_header);
|
||||
{ok, http_eoh} ->
|
||||
?DEBUG("(~w) http query: ~w ~s~n",
|
||||
?DEBUG("(~w) http query: ~w ~p~n",
|
||||
[State#state.socket, State#state.request_method,
|
||||
element(2, State#state.request_path)]),
|
||||
{HostProvided, Port, TP} =
|
||||
|
Loading…
Reference in New Issue
Block a user