|
Changeset 4778 €“ Varnish
|
Timestamp: 05/06/10 12:06:06 (9 hours ago); Author: phk; Message: Tell the VCC if we are in -L(earn) mode. In Learn mode, a backend port can be specified as. backend fs { .host = "127.0.0.1"; .port = Learn(2);. } which complements the varnishtest server::-listen directive: server s1 -listen 2 {. rxreq txresp -hdr "Foo: bar" -body "Hello World!" } -start -wait. Obviously, the 127.0.0.1 is mandatory for this to work. ... trunk/varnish-cache/lib/libvcl/vcc_backend.c ... |
Source Blog Post
|
|