mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix: default_host is forgotten between consecutive HTTP requests (#416)
This commit is contained in:
parent
e0228e9b7a
commit
f18ce9564c
@ -284,15 +284,18 @@ process_header(State, Data) ->
|
||||
true ->
|
||||
#state{sockmod = SockMod, socket = Socket,
|
||||
options = State#state.options,
|
||||
default_host = State#state.default_host,
|
||||
request_handlers = State#state.request_handlers};
|
||||
_ ->
|
||||
#state{end_of_request = true,
|
||||
options = State#state.options,
|
||||
default_host = State#state.default_host,
|
||||
request_handlers = State#state.request_handlers}
|
||||
end;
|
||||
_ ->
|
||||
#state{end_of_request = true,
|
||||
options = State#state.options,
|
||||
default_host = State#state.default_host,
|
||||
request_handlers = State#state.request_handlers}
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user