Ignore:
Timestamp:
May 22, 2007 9:11:10 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #285: ICE transport stops receiving packet upon getting ICMP unreach on Windows

File:
1 edited

Legend:

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

    r1129 r1288  
    293293    /* Start ICE on im2 */ 
    294294    status = start_ice(im2, im1); 
    295     if (status != PJ_SUCCESS) 
     295    if (status != PJ_SUCCESS) { 
     296        app_perror("   error starting ICE", status); 
    296297        return -30; 
     298    } 
    297299 
    298300    /* Start ICE on im1 */ 
     
    329331        data_from_answerer = pj_str("from answerer"); 
    330332        status = pj_ice_sess_send_data(im2->ice, 1, data_from_answerer.ptr, data_from_answerer.slen); 
    331         if (status != PJ_SUCCESS) 
     333        if (status != PJ_SUCCESS) { 
     334            app_perror("   error sending packet", status); 
    332335            return -48; 
     336        } 
    333337 
    334338        /* Poll to allow data to be received */ 
     
    477481 
    478482    /* Failure case (all checks fail) */ 
     483#if 0 
     484    /* Cannot just add an SRFLX candidate; it needs a base */ 
    479485    rc = perform_ice_test("Failure case (all checks fail)", PJ_FALSE, 1, PJ_FALSE, D3, D3, 1, ocand, 1, acand); 
    480486    if (rc != 0) 
    481487        goto on_return; 
     488#endif 
    482489 
    483490    /* Direct communication with invalid address */ 
Note: See TracChangeset for help on using the changeset viewer.