Commit 83d4ae01 authored by Nils Goroll's avatar Nils Goroll Committed by Reza Naghibi

VTCP_Check() to accept ETIMEDOUT on all platforms

it was already accepted on Solaris and NetBSD, now we have seen it on
Linux and I think it does not make sense to keep the exception for
Apple.

Fixes #3532 (hopefully)

 Conflicts:
	lib/libvarnish/vtcp.c
parent a16b969e
......@@ -572,6 +572,10 @@ VTCP_Check(ssize_t a)
* described in the socket(7) manpage.) */
if (errno == EAGAIN || errno == EWOULDBLOCK)
return (1);
/* tcp(7): The other end didn't acknowledge retransmitted data after
* some time. */
if (errno == ETIMEDOUT)
return (1);
#if (defined (__SVR4) && defined (__sun)) || defined (__NetBSD__)
/*
* Solaris returns EINVAL if the other end unexpectedly reset the
......
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