From 26550efd91f6e6b766859798fbfc1872902bdbca Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Thu, 25 Nov 2010 20:30:40 +0200 Subject: [PATCH] Don't loop when there is nothing after a stream start --- src/web/ejabberd_http_bind.erl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index 37fa90d99..c83b59534 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -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, "