Date: Mon, 24 Apr 2006 14:37:00 +0000
The curl_easy_getinfo processing for CURLINFO_LASTSOCKET returns the last
socket without regard to its current status.
This small enhancement to lib/getinfo.c would determine if the server sent a
shutdown on the socket and if so, return a -1 to indicate that the socket is
no longer valid.
- application/octet-stream attachment: sockpatch1