Ignore:
Timestamp:
2010-09-09T22:15:02+02:00 (6 years ago)
Author:
jow
Message:

[package] uhttpd: break tight loop when receiving eof during header reading (#7904)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uhttpd/src/uhttpd.c

    r22692 r22988  
    401401                        { 
    402402                                ensure_out(rlen = uh_tcp_recv(cl, bufptr, rlen)); 
     403 
     404                                /* unexpected eof - #7904 */ 
     405                                if( rlen == 0 ) 
     406                                        return NULL; 
    403407 
    404408                                blen -= rlen; 
Note: See TracChangeset for help on using the changeset viewer.