From 1401d909e8c95b75243712fb8aa14aa9ba2ecfef Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 Apr 2004 08:49:14 +0000 Subject: Fix the "lingering close" problem when re-using a connection, as test case 160 shows. We got no data and we attempted to re-use a connection. This might happen if the connection was left alive when we were done using it before, but that was closed when we wanted to read from it again. Bad luck. Retry the same request on a fresh connect! Deleted the sockerror variable again, it serves no purpose anymore. --- lib/urldata.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index a4040d15e..55070ccbf 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -577,8 +577,6 @@ struct connectdata { single requests! */ struct ntlmdata proxyntlm; /* NTLM data for proxy */ - int sockerror; /* errno stored by Curl_read() if the underlying layer returns - error */ char syserr_buf [256]; /* buffer for Curl_strerror() */ #if defined(USE_ARES) || defined(USE_THREADING_GETHOSTBYNAME) -- cgit v1.2.3