[master] 38ad554a5 vtcp: Apply "never" socket timeouts
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Mar 5 08:53:09 UTC 2024
commit 38ad554a5ba6d457f0fb7af232b7d375b6fb0560
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Feb 29 12:31:32 2024 +0100
vtcp: Apply "never" socket timeouts
diff --git a/lib/libvarnish/vtcp.c b/lib/libvarnish/vtcp.c
index c15dfdedf..207b8f80d 100644
--- a/lib/libvarnish/vtcp.c
+++ b/lib/libvarnish/vtcp.c
@@ -349,7 +349,7 @@ VTCP_close(int *s)
void
VTCP_set_read_timeout(int s, vtim_dur seconds)
{
- struct timeval timeout = VTIM_timeval(seconds);
+ struct timeval timeout = VTIM_timeval_sock(seconds);
/*
* Solaris bug (present at least in snv_151 and older): If this fails
More information about the varnish-commit
mailing list