HttpVersion ver(1,0);
httpStatusLineSet(&sline, ver, status, httpStatusString(status));
hdr = &header;
- hdr->putStr(HDR_SERVER, full_appname_string);
+ hdr->putStr(HDR_SERVER, APP_FULLNAME);
hdr->putTime(HDR_DATE, squid_curtime);
hdr->putInt64(HDR_CONTENT_LENGTH, 0);
hdr->putStr(HDR_LOCATION, loc);
}
}
+// XXX: check that this is sufficient for eCAP cloning
HttpReply *
HttpReply::clone() const
{
rep->hdr_sz = hdr_sz;
rep->http_ver = http_ver;
rep->pstate = pstate;
+ rep->body_pipe = body_pipe;
+
rep->protocol = protocol;
rep->sline = sline;
return rep;