Mailing Lists
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1493 possible bug when using CURLOPT_CLOSESOCKETFUNCTION?
From: Frank meier <frank-meier_at_users.sf.net>
Date: Tue, 10 Mar 2015 16:36:16 +0000
--- ** [bugs:#1493] possible bug when using CURLOPT_CLOSESOCKETFUNCTION?** **Status:** open **Created:** Tue Mar 10, 2015 04:36 PM UTC by Frank meier **Last Updated:** Tue Mar 10, 2015 04:36 PM UTC **Owner:** nobody Hi I already asked about this on the mailing list, but I didn't get an answer, that's why I open a ticket now. I stumbled over some libcurl code, that seems strange to me: in function Curl_closesocket() in connect.c the call to Curl_multi_closed() is omitted if a socket close function (CURLOPT_CLOSESOCKETFUNCTION) is registered. My understanding is that the behavior with and without a registered close function (that only calls close(sock)) should be the same. I haven't tested anything, it just caught my eye. So could this be a problem? I would propose something like the attached patch cheers, Frank --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2015-03-10 These mail archives are generated by hypermail. |