summaryrefslogtreecommitdiff
path: root/src/web/ejabberd_http_bind.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-02-15 21:20:39 +0100
committerBadlop <badlop@process-one.net>2010-02-15 22:42:59 +0100
commit6867ca43e4337a24b943feabc73373156cb1cb14 (patch)
treed05767a1bd1e2820030bb9e05e0b6507f20dcab3 /src/web/ejabberd_http_bind.erl
parentFix cluster race condition in route read (thanks to Alexey Shchepin) (diff)
Cross-domain HTTP-Bind support (thanks to Jack Moffitt)(EJAB-1168)
Diffstat (limited to 'src/web/ejabberd_http_bind.erl')
-rw-r--r--src/web/ejabberd_http_bind.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl
index c76125c3..4e504589 100644
--- a/src/web/ejabberd_http_bind.erl
+++ b/src/web/ejabberd_http_bind.erl
@@ -37,6 +37,7 @@
-include("ejabberd.hrl").
-include("jlib.hrl").
-include("ejabberd_http.hrl").
+-include("http_bind.hrl").
-record(http_bind, {id, pid, to, hold, wait, version}).
@@ -100,9 +101,6 @@
-define(MAX_PAUSE, 120). % may num of sec a client is allowed to pause
% the session
--define(CT, {"Content-Type", "text/xml; charset=utf-8"}).
--define(HEADER, [?CT]).
-
%%%----------------------------------------------------------------------
%%% API