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

* src/ejabberd_c2s.erl: Increase the timeout of open socket

without authentication to 60 seconds because many Jabber clients
are not yet capable of handling this correctly (EJAB-355)

SVN Revision: 1040
This commit is contained in:
Badlop 2007-12-06 17:42:25 +00:00
parent 4049906d5b
commit 60ea99d1a3
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2007-12-06 Badlop <badlop@process-one.net>
* src/ejabberd_c2s.erl: Increase the timeout of open socket
without authentication to 60 seconds because many Jabber clients
are not yet capable of handling this correctly (EJAB-355)
* src/Makefile.in: Allow compilation with HiPE, disabled by
default, undocumented and unrecommended because it is experimental
and doesn't seem to provide meaningful gains currently (thanks to

View File

@ -89,7 +89,7 @@
%% This is the timeout to apply between event when starting a new
%% session:
-define(C2S_OPEN_TIMEOUT, 5000).
-define(C2S_OPEN_TIMEOUT, 60000).
-define(C2S_HIBERNATE_TIMEOUT, 90000).
-define(STREAM_HEADER,