- Timestamp:
- Oct 5, 2007 6:41:04 AM (17 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
r1473 r1476 663 663 /* Mark transport as closing */ 664 664 tcp->is_closing = PJ_TRUE; 665 666 /* Stop keep-alive timer. */ 667 if (tcp->ka_timer.id) { 668 pjsip_endpt_cancel_timer(tcp->listener->endpt, &tcp->ka_timer); 669 tcp->ka_timer.id = PJ_FALSE; 670 } 665 671 666 672 /* Cancel all delayed transmits */ -
pjproject/trunk/pjsip/src/pjsip/sip_transport_tls_ossl.c
r1473 r1476 1398 1398 ++tls->is_closing; 1399 1399 1400 /* Stop keep-alive timer. */ 1401 if (tls->ka_timer.id) { 1402 pjsip_endpt_cancel_timer(tls->listener->endpt, &tls->ka_timer); 1403 tls->ka_timer.id = PJ_FALSE; 1404 } 1405 1400 1406 /* Cancel all delayed transmits */ 1401 1407 while (!pj_list_empty(&tls->delayed_list)) { … … 1958 1964 SSL_shutdown(tls->ssl); 1959 1965 tls->ssl_shutdown_called = PJ_TRUE; 1966 1967 /* Stop keep-alive timer. */ 1968 if (tls->ka_timer.id) { 1969 pjsip_endpt_cancel_timer(tls->listener->endpt, &tls->ka_timer); 1970 tls->ka_timer.id = PJ_FALSE; 1971 } 1960 1972 1961 1973 PJ_LOG(4,(transport->obj_name, "TLS transport shutdown"));
Note: See TracChangeset
for help on using the changeset viewer.