~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/http.cc

  • Committer: Package Import Robot
  • Author(s): Luigi Gangitano
  • Date: 2011-09-02 13:33:41 UTC
  • mto: (21.2.8 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: package-import@ubuntu.com-20110902133341-56p01dh4mh6e308v
Tags: upstream-3.1.15
ImportĀ upstreamĀ versionĀ 3.1.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
1394
1394
void
1395
1395
HttpStateData::maybeReadVirginBody()
1396
1396
{
 
1397
    // too late to read
 
1398
    if (fd >= 0 && fd_table[fd].closing())
 
1399
        return;
 
1400
 
1397
1401
    // we may need to grow the buffer if headers do not fit
1398
1402
    const int minRead = flags.headers_parsed ? 0 :1024;
1399
1403
    const int read_size = replyBodySpace(*readBuf, minRead);