Commit 09785c4e authored by Nils Goroll's avatar Nils Goroll

the current vtc -rcvbuf implementation does not work on SunOS

Ref #2980
parent bfbd2963
varnishtest "client h1 send timeouts"
# XXX See https://github.com/varnishcache/varnish-cache/pull/2980#issuecomment-486214661
feature cmd {test $(uname) != "SunOS"}
server s1 {
rxreq
txresp -bodylen 100000
......
......@@ -1918,6 +1918,8 @@ http_process(struct vtclog *vl, const char *spec, int sock, int *sfd,
hp->timeout = vtc_maxdur * 1000 / 2;
if (rcvbuf) {
// XXX setsockopt() too late on SunOS
// https://github.com/varnishcache/varnish-cache/pull/2980#issuecomment-486214661
hp->rcvbuf = rcvbuf;
oldbuf = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment