25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

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

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) ->