diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-09-17 00:33:08 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-09-17 00:33:08 +0200 |
commit | 4a4065c9c62a74a6a8b493595ac40e87f637b814 (patch) | |
tree | 6f58c04d7a472b33f071f7e29c802b2b0b342b28 /src/ejabberd_http_bind.erl | |
parent | Merge pull request #736 from quanzhuo/master (diff) |
Let BOSH/WebSocket support "max_resume_timeout"
Allow for specifying the "max_resume_timeout" option in an ejabberd_http
listener for ejabberd_http_bind and/or ejabberd_http_ws.
Diffstat (limited to 'src/ejabberd_http_bind.erl')
-rw-r--r-- | src/ejabberd_http_bind.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejabberd_http_bind.erl b/src/ejabberd_http_bind.erl index 21c6887f..4277f4c5 100644 --- a/src/ejabberd_http_bind.erl +++ b/src/ejabberd_http_bind.erl @@ -335,6 +335,7 @@ init([Sid, Key, IP, HOpts]) -> SOpts = lists:filtermap(fun({stream_managment, _}) -> true; ({max_ack_queue, _}) -> true; ({resume_timeout, _}) -> true; + ({max_resume_timeout, _}) -> true; ({resend_on_timeout, _}) -> true; (_) -> false end, HOpts), |