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.

_______________________________________________
varnish-dev mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to