HttpStateData::persistentConnStatus() const
{
debugs(11, 3, "persistentConnStatus: FD " << fd << " eof=" << eof);
- const HttpReply *vrep = virginReply();
- debugs(11, 5, "persistentConnStatus: content_length=" << vrep->content_length);
-
if (eof) // already reached EOF
return COMPLETE_NONPERSISTENT_MSG;
if (lastChunk && flags.chunked)
return statusIfComplete();
+ const HttpReply *vrep = virginReply();
+ debugs(11, 5, "persistentConnStatus: content_length=" << vrep->content_length);
+
const int64_t clen = vrep->bodySize(request->method);
debugs(11, 5, "persistentConnStatus: clen=" << clen);