Clean state between requests in ejabberd_http

This commit is contained in:
Paweł Chmielowski 2018-05-15 14:25:19 +02:00
parent 063737e4f5
commit c41bab9ca0
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ process_request(#state{request_method = Method,
_ ->
none
end,
{State2, Res}
{State2#state{trail = <<>>}, Res}
end.
make_bad_request(State) ->