cURL / Mailing Lists / curl-library / Single Mail


Timeout in multi-threaded program

From: <>
Date: Thu, 22 Nov 2001 16:52:55 +0100 (CET)

Hi list !

From a library user point of view (read I do not intend to modify the code of libcurl), is there an alternative to using CURLOPT_TIMEOUT/CURLOPT_CONNECTTIMEOUT to have a timeout on a connection request in a multi-threading program ?

My program does an HTTP GET from within a CORBA request, and I would like to be able to throw an exception back to the client when I've got a timeout.

Thanks for your help.


NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Une gamme d'outils gratuits et performants à votre service.
Web/Wap :
Téléphone/Fax : 08 92 69 00 21 (0,34 E TTC/min - 2,21 F TTC/min)
Minitel: 3615 NETCOURRIER (0,15 E TTC/min - 1,00 F TTC/min)
Received on 2001-11-22