diff options
author | Badlop <badlop@process-one.net> | 2009-06-16 17:47:51 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-06-16 17:47:51 +0000 |
commit | 7f8c01b1508c51fb88f067ba91a898a2be093505 (patch) | |
tree | 83c68ab5b344216bc2b051b6b26a5a448ffaa7b4 | |
parent | Changed the place where database is created(thanks to Michael Remond) (diff) |
Do not clear input when dispatching a get when we have nothing to output. (thanks to Geoff Cant)
SVN Revision: 2250
-rw-r--r-- | src/web/ejabberd_http_bind.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index e55b840cb..8893998c5 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -4,7 +4,7 @@ %%% Purpose : Implements XMPP over BOSH (XEP-0205) (formerly known as %%% HTTP Binding) %%% Created : 21 Sep 2005 by Stefan Strigler <steve@zeank.in-berlin.de> -%%% Id : $Id: ejabberd_http_bind.erl 942 2009-04-22 15:25:31Z mremond $ +%%% Id : $Id: ejabberd_http_bind.erl 944 2009-04-30 18:03:23Z gcant $ %%%---------------------------------------------------------------------- -module(ejabberd_http_bind). @@ -413,7 +413,6 @@ handle_sync_event({http_get, Rid, Wait, Hold}, From, StateName, StateData) -> ReqList = StateData#state.req_list, WaitTimer = erlang:start_timer(Wait * 1000, self(), []), {next_state, StateName, StateData#state{ - input = "", output = Output, http_receiver = From, wait_timer = WaitTimer, |