Ignore:
Timestamp:
Apr 10, 2012 3:48:22 AM (9 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/src/pjsip/sip_transport.c

    r3553 r4032  
    858858                delay.sec = delay.msec = 0; 
    859859            } else { 
    860                 delay.sec = PJSIP_TRANSPORT_IDLE_TIME; 
     860                delay.sec = (tp->dir==PJSIP_TP_DIR_OUTGOING) ? 
     861                                PJSIP_TRANSPORT_IDLE_TIME : 
     862                                PJSIP_TRANSPORT_SERVER_IDLE_TIME; 
    861863                delay.msec = 0; 
    862864            } 
Note: See TracChangeset for help on using the changeset viewer.