Fix the "lingering close" problem when re-using a connection, as test case
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2004 08:49:14 +0000 (08:49 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2004 08:49:14 +0000 (08:49 +0000)
commit1401d909e8c95b75243712fb8aa14aa9ba2ecfef
treed5271cbe4aa70309e2c3395b25ab03e579682cbc
parent323332262203448cbe6558983e51c0ae25cd1602
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/sendf.c
lib/transfer.c
lib/urldata.h