Ignore:
Timestamp:
Feb 21, 2013 11:26:35 AM (6 years ago)
Author:
bennylp
Message:

Fixed #1617: major synchronization fixes in PJNATH with incorporation of group lock to avoid deadlock and crashes due to race conditions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/sess_auth.c

    r3553 r4360  
    248248    sess_cb.on_rx_request = &server_on_rx_request; 
    249249    sess_cb.on_send_msg = &server_send_msg; 
    250     status = pj_stun_session_create(&stun_cfg, "server", &sess_cb, PJ_FALSE, &server->sess); 
     250    status = pj_stun_session_create(&stun_cfg, "server", &sess_cb, PJ_FALSE, NULL, &server->sess); 
    251251    if (status != PJ_SUCCESS) { 
    252252        destroy_server(); 
     
    480480    sess_cb.on_request_complete = &client_on_request_complete; 
    481481    sess_cb.on_send_msg = &client_send_msg; 
    482     status = pj_stun_session_create(&stun_cfg, "client", &sess_cb, PJ_FALSE, &client->sess); 
     482    status = pj_stun_session_create(&stun_cfg, "client", &sess_cb, PJ_FALSE, NULL, &client->sess); 
    483483    if (status != PJ_SUCCESS) { 
    484484        destroy_client_server(); 
Note: See TracChangeset for help on using the changeset viewer.