25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-10 16:58:46 +01:00

Don't loop when there is nothing after a stream start

This commit is contained in:
Alexey Shchepin 2010-11-25 20:30:40 +02:00 committed by Badlop
parent e34eebb5ad
commit 1d1496a667

View File

@ -966,8 +966,6 @@ prepare_outpacket_response(#http_bind{id=Sid, wait=Wait,
StreamTail]
end,
case OutEls of
[] ->
prepare_response(Sess, Rid, OutPacket, true);
[{xmlelement,
"stream:error",_,_}] ->
{200, ?HEADER, "<body type='terminate' "