cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLINFO_LASTSOCKET change

From: David McCreedy <mccreedytpf_at_msn.com>
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.

-David McCreedy

Received on 2006-04-24