[Varnish] #1772: first_byte_timeout is ignored when re-using a backend connection (HTTP Keep Alive)
Varnish
varnish-bugs at varnish-cache.org
Wed Aug 5 17:10:22 CEST 2015
#1772: first_byte_timeout is ignored when re-using a backend connection (HTTP Keep
Alive)
--------------------+------------------------
Reporter: tnt | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.1.0-TP1
Severity: normal | Resolution:
Keywords: |
--------------------+------------------------
Comment (by tnt):
New simplified test case :
{{{
varnishtest "honour first-byte timeout on a stolen connection"
server s1 {
rxreq
expect req.url == "/first"
txresp -hdr "Connection: keep-alive"
rxreq
expect req.url == "/second"
delay 2
txresp
} -start
varnish v1 -vcl {
backend s1 {
.host = "${s1_addr}";
.port = "${s1_port}";
.first_byte_timeout = 1s;
}
} -start
client c1 {
txreq -url "/first"
rxresp
expect resp.status == 200
txreq -url "/second"
rxresp
expect resp.status == 503
} -run
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1772#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list