cURL / Mailing Lists / curl-library / Single Mail

curl-library

Connect problem

From: Lothar Scholz <mailinglists_at_scriptolutions.com>
Date: Fri, 13 Jun 2003 14:04:37 +0200

Hello,

i'm using the CURL library for 3 month now (with my own language
binding to GNU Eiffel) and i run into a problem with the socket connect.

The problem is that i do all CURL operations in a different thread and
if the main GUI thread wants to abort an operation it sets a semaphore
and waits for acknowledge. This works perfect with one exception. The
connect is blocking and so it can take an awful long time where the
GUI is blocked.

So is it possible to extend CURL so that the connect operation does
call the progress callback (CURLOPT_PROGRESSFUNCTION) every second -
of course with parameters all bound to "0.0" ?

Second question: is it possible to retrieve the FTP error code when i
get a "QUOT string not accepted: " error ?

Thank you very much,

Lothar

-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-13