Ignore:
Timestamp:
Aug 28, 2018 5:42:25 AM (9 months ago)
Author:
riza
Message:

Close #2141: Add TCP initial receive timeout for server connection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r5812 r5869  
    773773 
    774774/** 
     775 * Initial timeout interval to be applied to incoming transports (i.e. server 
     776 * side) when no data received after a successful connection. Value is in 
     777 * seconds. Disable the timeout by setting it to 0. 
     778 * 
     779 * Note that even when this is disable, the connection might still get closed 
     780 * when it is idle or not referred anymore. Have a look at \a 
     781 * PJSIP_TRANSPORT_SERVER_IDLE_TIME 
     782 * 
     783 * Default: 0 (disabled) 
     784 */ 
     785#ifndef PJSIP_TCP_INITIAL_TIMEOUT 
     786#   define PJSIP_TCP_INITIAL_TIMEOUT        0 
     787#endif 
     788 
     789/** 
    775790 * Set the interval to send keep-alive packet for TLS transports. 
    776791 * If the value is zero, keep-alive will be disabled for TLS. 
Note: See TracChangeset for help on using the changeset viewer.