• Poul-Henning Kamp's avatar
    Add a new mode to server instance 'b0', where it acts like "a normal · b1dd6679
    Poul-Henning Kamp authored
    webserver" and dispatches a thread for each incomming connection.
    
    This is an example use:
    
    	server s0 {
    		loop 10 {
    			rxreq
    			txresp -body "foo1"
    		}
    		rxreq
    		txresp -hdr "Connection: close" -body "foo1"
    		expect_close
    	} -dispatch
    
    Each connection will spawn a dynamically created s%d instance
    starting with s1, s2 ...
    
    Each of these will respond to 11 requests on the accepted connection,
    the last response will have "Connection: close" and they will
    expect the other end (varnish) to do that.
    
    The main limitation on using this for bulk traffic tests is the
    finite and limited size of the vtc_log which varnishtest will
    collect (half a megabyte).
    
    Test b00048 is about as much traffic as will fit in the vtc_log.
    b1dd6679
Name
Last commit
Last update
..
tests Loading commit data...
tests.disabled Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
programs.h Loading commit data...
vmods.h Loading commit data...
vtc.c Loading commit data...
vtc.h Loading commit data...
vtc_client.c Loading commit data...
vtc_http.c Loading commit data...
vtc_log.c Loading commit data...
vtc_logexp.c Loading commit data...
vtc_main.c Loading commit data...
vtc_sema.c Loading commit data...
vtc_server.c Loading commit data...
vtc_varnish.c Loading commit data...