Ignore:
Timestamp:
Oct 28, 2016 3:57:55 AM (6 years ago)
Author:
ming
Message:

Re #1972: ICE initialization issues when creating a component/candidate fails.

Fixed ICE stuck if TURN creation fails in resolved state, assertions when trying to access other components/candidates, and crash when trying to access destroyed TURN socket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/turn_sock.c

    r5380 r5474  
    891891            on_connect_complete(turn_sock->active_sock, PJ_SUCCESS); 
    892892        } else if (status != PJ_EPENDING) { 
     893            pj_perror(3, turn_sock->pool->obj_name, status, 
     894                      "Failed to connect to %s", 
     895                      pj_sockaddr_print(&info.server, addrtxt, 
     896                                        sizeof(addrtxt), 3)); 
    893897            pj_turn_sock_destroy(turn_sock); 
    894898            return; 
Note: See TracChangeset for help on using the changeset viewer.