Changeset 2246


Ignore:
Timestamp:
Aug 26, 2008 7:27:23 PM (11 years ago)
Author:
bennylp
Message:

Ticket #601: 100% CPU usage when TCP active socket receives ECONNRESET

File:
1 edited

Legend:

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

    r2243 r2246  
    421421                   -bytes_read != PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK) && 
    422422                   -bytes_read != PJ_STATUS_FROM_OS(OSERR_EINPROGRESS) &&  
    423                    -bytes_read != PJ_STATUS_FROM_OS(OSERR_ECONNRESET))  
     423                   (asock->stream_oriented || 
     424                    -bytes_read != PJ_STATUS_FROM_OS(OSERR_ECONNRESET)))  
    424425        { 
    425426            pj_size_t remainder; 
Note: See TracChangeset for help on using the changeset viewer.