[master] b4a094787 vca: Apply "never" socket timeouts
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Mar 5 08:53:09 UTC 2024
commit b4a094787b25b0d3571dc50829610cafe6b33129
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Feb 29 12:30:35 2024 +0100
vca: Apply "never" socket timeouts
diff --git a/bin/varnishd/cache/cache_acceptor.c b/bin/varnishd/cache/cache_acceptor.c
index e229c7db4..ece80e3b6 100644
--- a/bin/varnishd/cache/cache_acceptor.c
+++ b/bin/varnishd/cache/cache_acceptor.c
@@ -204,9 +204,9 @@ vca_sock_opt_init(void)
SET_VAL(SO_LINGER, so, lg, disable_so_linger);
SET_VAL(SO_KEEPALIVE, so, i, enable_so_keepalive);
NEW_VAL(SO_SNDTIMEO, so, tv,
- VTIM_timeval(cache_param->idle_send_timeout));
+ VTIM_timeval_sock(cache_param->idle_send_timeout));
NEW_VAL(SO_RCVTIMEO, so, tv,
- VTIM_timeval(cache_param->timeout_idle));
+ VTIM_timeval_sock(cache_param->timeout_idle));
SET_VAL(TCP_NODELAY, so, i, enable_tcp_nodelay);
#if defined(HAVE_TCP_KEEP)
NEW_VAL(TCP_KEEPIDLE, so, i,
More information about the varnish-commit
mailing list