/* build and pack headers */
{
HttpHeader hdr(hoRequest);
- Packer p;
httpBuildRequestHeader(request, entry, fwd->al, &hdr, flags);
if (request->flags.pinned && request->flags.connectionAuth)
else if (hdr.has(HDR_AUTHORIZATION))
request->flags.authSent = true;
- packerToMemInit(&p, mb);
- hdr.packInto(&p);
+ hdr.packInto(mb);
hdr.clean();
}
/* append header terminator */