make pipe adjustments, depending on how the body will be used. Note that
we cannot clone the body or even the pipe. We can only share it between
the clone and "cloner".
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;
copy->hdr_sz = hdr_sz;
copy->http_ver = http_ver;
copy->pstate = pstate; // TODO: should we assert a specific state here?
+ copy->body_pipe = body_pipe;
strncpy(copy->login, login, sizeof(login)); // MAX_LOGIN_SZ
strncpy(copy->host, host, sizeof(host)); // SQUIDHOSTNAMELEN