]> granicus.if.org Git - ejabberd/commitdiff
Change default flow timeout as recommended per the RFC
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Thu, 12 Jun 2014 05:28:34 +0000 (09:28 +0400)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Thu, 12 Jun 2014 05:30:10 +0000 (09:30 +0400)
src/mod_sip_registrar.erl

index 9f52436037f3c5de08f23998979f380499b49ee2..8662ed74c151cbdada7741dd350cea54aeb3e00b 100644 (file)
@@ -25,7 +25,7 @@
 -define(CALL_TIMEOUT, timer:seconds(30)).
 -define(DEFAULT_EXPIRES, 3600).
 -define(FLOW_TIMEOUT_DATAGRAM, 29).
--define(FLOW_TIMEOUT_STREAM, 180).
+-define(FLOW_TIMEOUT_STREAM, 120).
 
 -record(sip_session, {us = {<<"">>, <<"">>} :: {binary(), binary()},
                      socket = #sip_socket{} :: #sip_socket{},