Changeset 4450
- Timestamp:
- Mar 22, 2013 8:28:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c
r4411 r4450 1581 1581 is_shutdown = tls->base.is_shutdown; 1582 1582 pjsip_transport_dec_ref(&tls->base); 1583 if (is_shutdown) 1583 if (is_shutdown) { 1584 status = tls->close_reason; 1585 tls_perror(tls->base.obj_name, "TLS connect() error", status); 1586 1587 /* Cancel all delayed transmits */ 1588 while (!pj_list_empty(&tls->delayed_list)) { 1589 struct delayed_tdata *pending_tx; 1590 pj_ioqueue_op_key_t *op_key; 1591 1592 pending_tx = tls->delayed_list.next; 1593 pj_list_erase(pending_tx); 1594 1595 op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; 1596 1597 on_data_sent(tls->ssock, op_key, -status); 1598 } 1599 1584 1600 return PJ_FALSE; 1601 } 1585 1602 1586 1603
Note: See TracChangeset
for help on using the changeset viewer.