Ignore:
Timestamp:
Jun 8, 2016 2:55:24 AM (5 years ago)
Author:
ming
Message:

Close #1930: Race condition in OpenSSL socket

A workaround to solve the race condition based on ticket #985.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r5325 r5338  
    380380    ssock_param.async_cnt = async_cnt; 
    381381    ssock_param.ioqueue = pjsip_endpt_get_ioqueue(endpt); 
     382    ssock_param.timer_heap = pjsip_endpt_get_timer_heap(endpt);     
    382383    ssock_param.require_client_cert = listener->tls_setting.require_client_cert; 
    383384    ssock_param.timeout = listener->tls_setting.timeout; 
     
    10561057    ssock_param.async_cnt = 1; 
    10571058    ssock_param.ioqueue = pjsip_endpt_get_ioqueue(listener->endpt); 
     1059    ssock_param.timer_heap = pjsip_endpt_get_timer_heap(listener->endpt); 
    10581060    ssock_param.server_name = remote_name; 
    10591061    ssock_param.timeout = listener->tls_setting.timeout; 
Note: See TracChangeset for help on using the changeset viewer.