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 7be6e33ea4
commit 26550efd91
1 changed files with 0 additions and 2 deletions

View File

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