Thanks, but I have specific reasons for doing this in the mainline squid code and not with ICAP. Any suggestions here?
On Thursday, April 24, 2014 4:04 AM, Eliezer Croitoru <eliezer_at_ngtech.co.il> wrote:
You can try to use ICAP for this.
Eliezer
On 04/24/2014 01:33 PM, Peter Belau wrote:
> I'm trying to modify the Set-Cookie header from within client_side_reply.cc. Currently my code looks like this:
>
> HttpReply *rep = http->storeEntry()->getReply()->clone();
> http->storeEntry()->releaseRequest();
> rep->header.putStr(HDR_SET_COOKIE, "FOO=bar");
> http->storeEntry()->replaceHttpReply(rep);
> http->storeEntry()->complete();
>
> This seems to corrupt storeEntry in ways that I don't understand. I imagine that I'm missing something fundamental here. If someone could point me in the right direct, I would much appreciate it.
>
> Thanks,
>
> Peter
Received on Thu Apr 24 2014 - 11:06:35 MDT
This archive was generated by hypermail 2.2.0 : Thu Apr 24 2014 - 12:00:14 MDT