Bugzilla – Attachment 53357 Details for
Bug 15006
Need to distinguish client timeout from login timeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15006: Introduce client_timeout in SIPconfig.xml
Bug-15006-Introduce-clienttimeout-in-SIPconfigxml.patch (text/plain), 1.96 KB, created by
Srdjan Jankovic
on 2016-07-13 00:57:01 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15006: Introduce client_timeout in SIPconfig.xml
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2016-07-13 00:57:01 UTC
Size:
1.96 KB
patch
obsolete
>From f706392ca2001d9a7344498f4c4c53c18b8d5552 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Fri, 20 Nov 2015 12:12:48 +0000 >Subject: [PATCH] Bug 15006: Introduce client_timeout in SIPconfig.xml > >Most selfchecks have persistent connections and send a >periodic status request at intervals (approx every 5mins appears >the norm) The timeout was dropping connections by default every 30secs >which for the client appears as a very flakey network. > >This patch adds a separate parameter client_timeout that can be >used if you do want to force a disconnect if the client sends >no requests for a period. The sample config sets it to 600, but you >can also define a 0 value meaning no timeout. If the parameter is not >defined, it will fallback to service timeout. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Restored this patch from Colin in order to separate it from the >get_timeout patch. Adjusted the commit message slightly. >The original value of 600 from Colin's earlier patch may give less >discussion than setting to 0 (no timeout) in a later proposal. > >Signed-off-by: Srdjan <srdjan@catalyst.net.nz> >--- > etc/SIPconfig.xml | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/etc/SIPconfig.xml b/etc/SIPconfig.xml >index fc7635e..c61a6c7 100644 >--- a/etc/SIPconfig.xml >+++ b/etc/SIPconfig.xml >@@ -32,7 +32,15 @@ > port="127.0.0.1:6001/tcp" > transport="RAW" > protocol="SIP/2.00" >+ client_timeout="600" > timeout="60" /> >+<!--- client_timeout times out active connections which have not received >+ input from the client. Many persistent connections will send a status request >+ every 5-7 mins so setting this to less than that will add instability to the connection >+ if explicitly set to zero, no timeout is applied to the connection. >+ NB the parameter timeout applies to the login process only and should be set to a lower value >+ to time out failed connections >+--> > </listeners> > > <accounts> >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15006
:
45039
|
45583
|
45594
|
52477
|
52478
|
52479
|
52480
|
52784
|
52785
|
52786
|
52787
|
52849
|
52850
|
52851
|
52852
|
52853
|
53009
|
53010
|
53011
|
53012
|
53013
|
53014
|
53132
|
53133
|
53134
|
53135
|
53309
|
53310
|
53311
|
53312
|
53355
|
53356
|
53357
|
53358
|
53359
|
53360
|
53363
|
53364
|
53365
|
53366
|
53367
|
53368
|
53369