aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2010-11-25 20:30:40 +0200
committerBadlop <badlop@process-one.net>2010-11-26 17:08:00 +0100
commit1d1496a6676ed24acbc1057ac3189dc99a82ec43 (patch)
tree3b2f1e37dba4c73fc52124e04d43eb7e674d66b0 /src
parentCorrect domain_certfile tlsopts modifications for s2s connections (EJAB-1086) (diff)
Don't loop when there is nothing after a stream start
Diffstat (limited to 'src')
-rw-r--r--src/web/ejabberd_http_bind.erl2
1 files changed, 0 insertions, 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, "<body type='terminate' "