mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Don't loop when there is nothing after a stream start
This commit is contained in:
parent
e34eebb5ad
commit
1d1496a667
@ -966,8 +966,6 @@ prepare_outpacket_response(#http_bind{id=Sid, wait=Wait,
|
|||||||
StreamTail]
|
StreamTail]
|
||||||
end,
|
end,
|
||||||
case OutEls of
|
case OutEls of
|
||||||
[] ->
|
|
||||||
prepare_response(Sess, Rid, OutPacket, true);
|
|
||||||
[{xmlelement,
|
[{xmlelement,
|
||||||
"stream:error",_,_}] ->
|
"stream:error",_,_}] ->
|
||||||
{200, ?HEADER, "<body type='terminate' "
|
{200, ?HEADER, "<body type='terminate' "
|
||||||
|
Loading…
Reference in New Issue
Block a user