25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Restore ejabberd directory structure (src/web) for integration as patch (thanks to Christohpe Romain)

SVN Revision: 2274
This commit is contained in:
Badlop 2009-06-16 18:24:34 +00:00
parent 5495516c30
commit 01dc4611b9
2 changed files with 8 additions and 7 deletions

View File

@ -3,12 +3,12 @@
%%% Author : Stefan Strigler <steve@zeank.in-berlin.de>
%%% Purpose : HTTP Binding support (JEP-0124)
%%% Created : 21 Sep 2005 by Stefan Strigler <steve@zeank.in-berlin.de>
%%% Id : $Id: ejabberd_http_bind.erl 123 2007-05-30 13:48:02Z sstrigler $
%%% Id : $Id: ejabberd_http_bind.erl 156 2007-06-25 09:22:57Z cromain $
%%%----------------------------------------------------------------------
-module(ejabberd_http_bind).
-author('steve@zeank.in-berlin.de').
-vsn('$Rev: 123 $').
-vsn('$Rev: 156 $').
-behaviour(gen_fsm).
@ -542,6 +542,7 @@ handle_sync_event({http_put, Rid, Key, NewKey, Hold, Packet, StartTo},
{MinPoll, _} = string:to_integer(?MIN_POLLING),
if
(Packet == "") and
(Hold == 0) and
(TNow - StateData#state.last_poll < MinPoll*1000*1000) ->
Reply = {error, polling_too_frequently},
{reply, Reply, StateName, StateData};

View File

@ -3,7 +3,7 @@
%%% Author : Stefan Strigler <steve@zeank.in-berlin.de>
%%% Purpose : Implementation of XMPP over BOSH (XEP-0206)
%%% Created : Tue Feb 20 13:15:52 CET 2007
%%% Id : $Id: $
%%% Id : $Id: mod_http_bind.erl 156 2007-06-25 09:22:57Z cromain $
%%%----------------------------------------------------------------------
%%%----------------------------------------------------------------------
@ -15,7 +15,7 @@
-module(mod_http_bind).
-author('steve@zeank.in-berlin.de').
-define(MOD_HTTP_BIND_VERSION, "1.0").
-define(MOD_HTTP_BIND_VERSION, "1.2").
-vsn(?MOD_HTTP_BIND_VERSION).
%%-define(ejabberd_debug, true).