Ignore:
Timestamp:
Feb 5, 2016 4:29:17 AM (9 years ago)
Author:
nanang
Message:

Fixed #1902:

  • Crash when endpoint has multiple worker threads and SIP TCP transport is disconnected during incoming call handling.
  • Deprecated pjsip_dlg_create_uas(), replaced by pjsip_dlg_create_uas_and_inc_lock().
  • Serialized transaction state notifications (of 'terminated' and 'destroyed') in case of transport error.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r5170 r5241  
    11061106 
    11071107        for (ii=0; ii<pjsua_var.ua_cfg.thread_cnt; ++ii) { 
    1108             status = pj_thread_create(pjsua_var.pool, "pjsua", &worker_thread, 
     1108            char thread_name[16]; 
     1109            pj_ansi_snprintf(thread_name, 16, "pjsua_%d", ii); 
     1110            status = pj_thread_create(pjsua_var.pool, thread_name, &worker_thread, 
    11091111                                      NULL, 0, 0, &pjsua_var.thread[ii]); 
    11101112            if (status != PJ_SUCCESS) 
Note: See TracChangeset for help on using the changeset viewer.