mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Don't loop when there is nothing after a stream start
This commit is contained in:
parent
7be6e33ea4
commit
26550efd91
@ -1039,8 +1039,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);
|
|
||||||
[#xmlel{name = 'stream:error'}] ->
|
[#xmlel{name = 'stream:error'}] ->
|
||||||
{200, ?HEADER, "<body type='terminate' "
|
{200, ?HEADER, "<body type='terminate' "
|
||||||
"condition='host-unknown' "
|
"condition='host-unknown' "
|
||||||
|
Loading…
Reference in New Issue
Block a user