set client.ip etc: AF support?

Nils Goroll slink at schokola.de
Wed Mar 10 21:42:45 CET 2010


> 	set client.ip = IP(req.http.x-forwarded-for);

Do we need to support changing the address family between IPV4 and IPv6 for this 
case?

I wonder what will happen if I need to replace the existing sockaddr entry with 
something allocated from sp->http->ws to accommodate an IPv6 address when the 
original client address was v4.




More information about the varnish-dev mailing list