Changeset 1505

Show
Ignore:
Timestamp:
06/10/07 09:47:50 (3 years ago)
Author:
phk
Message:

Fix a bug I introduced in the workspace rewamp: Don't throw away
perfectly good pipelined data.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/varnish-cache/bin/varnishd/cache_http.c

    r1503 r1505  
    362362                len -= u; 
    363363        } 
    364         hp->pl_s = hp->pl_e = NULL; 
     364        if (hp->pl_e == hp->pl_s) 
     365                hp->pl_s = hp->pl_e = NULL; 
    365366        if (len > 0) { 
    366367                i = read(fd, b, len);