Ignore:
Timestamp:
Nov 21, 2018 10:08:04 AM (5 years ago)
Author:
riza
Message:

Close #2162: If transport restart fail, don't proceed with updating contact on IP change process.

File:
1 edited

Legend:

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

    r5833 r5911  
    11491149    pj_status_t status; 
    11501150    char addr[PJ_INET6_ADDRSTRLEN+10]; 
     1151    int i; 
    11511152 
    11521153    PJ_ASSERT_RETURN(transport != NULL, PJ_EINVAL); 
     
    12361237    } 
    12371238 
     1239    /* Re-init op_key. */ 
     1240    for (i = 0; i < tp->rdata_cnt; ++i) { 
     1241        pj_ioqueue_op_key_init(&tp->rdata[i]->tp_info.op_key.op_key, 
     1242                               sizeof(pj_ioqueue_op_key_t)); 
     1243    } 
     1244 
    12381245    /* Restart async read operation. */ 
    12391246    status = start_async_read(tp); 
Note: See TracChangeset for help on using the changeset viewer.