[master] cd92f289a Set SA_CLIENT_{IP,PORT} only once

Nils Goroll nils.goroll at uplex.de
Sat Nov 16 11:11:05 UTC 2019


commit cd92f289a2388a0b18e6c7412e6e6def7c49b4a8
Author: Emmanuel Hocdet <manu at gandi.net>
Date:   Fri Nov 15 12:48:22 2019 +0100

    Set SA_CLIENT_{IP,PORT} only once

diff --git a/bin/varnishd/proxy/cache_proxy_proto.c b/bin/varnishd/proxy/cache_proxy_proto.c
index 20a626d40..78b120c2a 100644
--- a/bin/varnishd/proxy/cache_proxy_proto.c
+++ b/bin/varnishd/proxy/cache_proxy_proto.c
@@ -126,8 +126,6 @@ vpx_proto1(const struct worker *wrk, const struct req *req)
 		    "PROXY1: Cannot resolve destination address");
 		return (-1);
 	}
-	SES_Set_String_Attr(req->sp, SA_CLIENT_IP, fld[1]);
-	SES_Set_String_Attr(req->sp, SA_CLIENT_PORT, fld[3]);
 
 	VSL(SLT_Proxy, req->sp->vxid, "1 %s %s %s %s",
 	    fld[1], fld[3], fld[2], fld[4]);


More information about the varnish-commit mailing list