Changeset 5856


Ignore:
Timestamp:
Aug 15, 2018 3:00:18 AM (14 months ago)
Author:
nanang
Message:

Misc (re #2059): False error/exception returned by IP change Endpoint::handleIpChange() on Android, it returns error "Address already in use" immediately while a retry attempt is scheduled (i.e: param.restartLisDelay is set to non-zero). Thanks Christian Scheid for the report.

File:
1 edited

Legend:

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

    r5840 r5856  
    36693669        status = PJ_EINVAL; 
    36703670    } 
     3671 
     3672    PJ_PERROR(3,(THIS_FILE, status, "Listener %s restart", 
     3673                 pjsip_transport_get_type_name(tp_info.type))); 
     3674 
    36713675    if (status != PJ_SUCCESS && (restart_lis_delay > 0)) { 
    36723676        /* Try restarting again, with delay. */ 
     
    36743678                              (void*)(pj_size_t)id,  
    36753679                              restart_lis_delay); 
     3680 
     3681        PJ_LOG(3,(THIS_FILE, "Retry listener %s restart in %d ms", 
     3682                     pjsip_transport_get_type_name(tp_info.type), 
     3683                     restart_lis_delay)); 
     3684 
     3685        status = PJ_SUCCESS; 
    36763686    } else { 
    36773687        int i = 0; 
Note: See TracChangeset for help on using the changeset viewer.