Ignore:
Timestamp:
Apr 10, 2012 3:48:22 AM (12 years ago)
Author:
bennylp
Message:

More re #1465: introduce separate idle timeout setting for server side TCP/TLS connection and set the default to 600 seconds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/include/pjsip/sip_config.h

    r3976 r4032  
    428428 
    429429/** 
    430  * Idle timeout interval to be applied to transports with no usage 
    431  * before the transport is destroyed. Value is in seconds. 
     430 * Idle timeout interval to be applied to outgoing transports (i.e. client 
     431 * side) with no usage before the transport is destroyed. Value is in 
     432 * seconds. 
    432433 * 
    433434 * Default: 30 
     
    435436#ifndef PJSIP_TRANSPORT_IDLE_TIME 
    436437#   define PJSIP_TRANSPORT_IDLE_TIME    30 
     438#endif 
     439 
     440 
     441/** 
     442 * Idle timeout interval to be applied to incoming transports (i.e. server 
     443 * side) with no usage before the transport is destroyed. Server typically 
     444 * should let client close the connection, hence set this interval to a large 
     445 * value. Value is in seconds. 
     446 * 
     447 * Default: 600 
     448 */ 
     449#ifndef PJSIP_TRANSPORT_SERVER_IDLE_TIME 
     450#   define PJSIP_TRANSPORT_SERVER_IDLE_TIME     600 
    437451#endif 
    438452 
Note: See TracChangeset for help on using the changeset viewer.