Future plans
Dag-Erling Smørgrav
des at linpro.no
Sat Jul 8 22:17:53 CEST 2006
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Speaking of this, how hard would it be to build a simple test setup
> which uses netcat as both client and backend ?
>
> Something like:
>
> testone () {
> varnishd -b localhost:8081 -T one_req &
> nc -l 8081 < $server_resp > $server_req
> nc localhost 8080 < $client_req > $client_resp
> wait
> diff $server_req $server_req_ref
> diff $client_resp $client_resp.ref
> }
Not very hard, you just did :)
It wouldn't be very hard to write such a test framework in C either;
varnish-tools/fetcher would be a good starting point. I'll see if I
can tackle it tomorrow.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-dev
mailing list