Ignore:
Timestamp:
Dec 22, 2006 3:31:35 PM (18 years ago)
Author:
bennylp
Message:

Ticket #47: Packet length not set correctly when media transport fails with immediate error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c

    r830 r857  
    467467                                     &udp->rtp_addrlen); 
    468468 
     469        if (status != PJ_EPENDING && status != PJ_SUCCESS) 
     470            bytes_read = -status; 
     471 
    469472    } while (status != PJ_EPENDING); 
    470473} 
     
    518521                                     &udp->rtcp_src_addr,  
    519522                                     &udp->rtcp_addr_len); 
     523        if (status != PJ_EPENDING && status != PJ_SUCCESS) 
     524            bytes_read = -status; 
    520525 
    521526    } while (status != PJ_EPENDING); 
Note: See TracChangeset for help on using the changeset viewer.