From 1d1496a6676ed24acbc1057ac3189dc99a82ec43 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 4d15caadc..1533af361 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -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, "