Ignore:
Timestamp:
Aug 26, 2008 8:47:53 PM (16 years ago)
Author:
bennylp
Message:

More ticket #601: premature connection close with TCP active socket case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/activesock.c

    r2246 r2248  
    512512        } 
    513513 
    514         if (status != PJ_EPENDING && status != PJ_ECANCELLED) { 
     514        if (status == PJ_SUCCESS) { 
     515            /* Immediate data */ 
     516            ; 
     517        } else if (status != PJ_EPENDING && status != PJ_ECANCELLED) { 
     518            /* Error */ 
    515519            bytes_read = -status; 
    516520        } else { 
Note: See TracChangeset for help on using the changeset viewer.