diff options
author | Badlop <badlop@process-one.net> | 2015-03-06 12:40:48 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2015-03-06 12:40:48 +0100 |
commit | f18ce9564cc790abc67e40194aef64325d0fcec4 (patch) | |
tree | 8726fed0f5bdcbedcdf6467121c33cb02a9e8593 /src | |
parent | Access list editing broken in web_admin (#252) (diff) |
Fix: default_host is forgotten between consecutive HTTP requests (#416)
Diffstat (limited to 'src')
-rw-r--r-- | src/ejabberd_http.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ejabberd_http.erl b/src/ejabberd_http.erl index b624bf447..c1ab5c6cd 100644 --- a/src/ejabberd_http.erl +++ b/src/ejabberd_http.erl @@ -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. |