• Poul-Henning Kamp's avatar
    Add INT std.port(IP) which extracts the TCP port number. · 22677062
    Poul-Henning Kamp authored
    By default IP renders as STRING with just the IP number, so if you
    want to get the port number there too, you have to do something
    like:
    
    	set resp.http.where = client.ip + ":" + std.port(client.ip);
    
    Not too elegant, but it will do.
    
    Remove the "hard-coded" "foo.port" VCL variables.
    22677062
Name
Last commit
Last update
..
libvarnish Loading commit data...
libvarnishapi Loading commit data...
libvarnishcompat Loading commit data...
libvarnishtools Loading commit data...
libvcc Loading commit data...
libvgz Loading commit data...
libvmod_debug Loading commit data...
libvmod_directors Loading commit data...
libvmod_std Loading commit data...
Makefile.am Loading commit data...