From: Paweł Chmielowski Date: Tue, 15 May 2018 12:25:19 +0000 (+0200) Subject: Clean state between requests in ejabberd_http X-Git-Tag: 18.06~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c41bab9ca0fbec7b57e3df829e9b30133f7b8c62;p=ejabberd Clean state between requests in ejabberd_http --- diff --git a/src/ejabberd_http.erl b/src/ejabberd_http.erl index 2e73ef1bf..167d2a5aa 100644 --- a/src/ejabberd_http.erl +++ b/src/ejabberd_http.erl @@ -528,7 +528,7 @@ process_request(#state{request_method = Method, _ -> none end, - {State2, Res} + {State2#state{trail = <<>>}, Res} end. make_bad_request(State) ->