Changeset 4094 for pjproject/trunk
- Timestamp:
- Apr 26, 2012 9:31:00 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/1.x merged: 4091-4093
- Property svn:mergeinfo changed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r4038 r4094 432 432 * seconds. 433 433 * 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 435 439 */ 436 440 #ifndef PJSIP_TRANSPORT_IDLE_TIME 437 # define PJSIP_TRANSPORT_IDLE_TIME 3 0441 # define PJSIP_TRANSPORT_IDLE_TIME 33 438 442 #endif 439 443 -
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r4038 r4094 660 660 } 661 661 662 /* Add reference to prevent deletion, and to cancel idle timer if 663 * it's running. 664 */ 665 pjsip_transport_add_ref(tr); 666 662 667 /* Fill in tp_info. */ 663 668 tdata->tp_info.transport = tr; … … 677 682 if (tr->tpmgr->on_tx_msg) { 678 683 status = (*tr->tpmgr->on_tx_msg)(tr->endpt, tdata); 679 if (status != PJ_SUCCESS) 684 if (status != PJ_SUCCESS) { 685 pjsip_transport_dec_ref(tr); 680 686 return status; 687 } 681 688 } 682 689 … … 700 707 } 701 708 709 pjsip_transport_dec_ref(tr); 702 710 return status; 703 711 } -
pjproject/trunk/pjsip/src/test/regc_test.c
r3553 r4094 773 773 /* client expected results: */ 774 774 /* error code have_reg expiration contact_cnt auth?*/ 775 { PJ_FALSE, 50 3, PJ_FALSE, -1, 0, PJ_FALSE}775 { PJ_FALSE, 502, PJ_FALSE, -1, 0, PJ_FALSE} 776 776 }, 777 777
Note: See TracChangeset
for help on using the changeset viewer.