Changeset 4091


Ignore:
Timestamp:
Apr 26, 2012 9:20:07 AM (7 years ago)
Author:
bennylp
Message:

More re #1465: Set the default idle time to 33 from 30. With 30, some pjsip unit tests fail because the TCP transport is closed prematurely before the test completes. This should not happen in the real life as long as app uses a client transaction to send a request. The unit test uses stateless send which does not add ref_count to the transport, that is why the transport is closed prepaturely before 32 seconds (the transaction timeout interval)

File:
1 edited

Legend:

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

    r4032 r4091  
    432432 * seconds. 
    433433 * 
    434  * Default: 30 
     434 * Note that if the value is put lower than 33 seconds, it may cause some 
     435 * pjsip test units to fail. See the comment on the following link: 
     436 * https://trac.pjsip.org/repos/ticket/1465#comment:4 
     437 * 
     438 * Default: 33 
    435439 */ 
    436440#ifndef PJSIP_TRANSPORT_IDLE_TIME 
    437 #   define PJSIP_TRANSPORT_IDLE_TIME    30 
     441#   define PJSIP_TRANSPORT_IDLE_TIME    33 
    438442#endif 
    439443 
Note: See TracChangeset for help on using the changeset viewer.