cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to set transaction timeout?

From: <debojyoti.pal_at_wipro.com>
Date: Mon, 15 Mar 2010 18:06:57 +0530

Hi,

Is there any way to set the transaction timeout? There is one timeout
for connection and another timeout for aborting transaction, which means
that up to the specified amount of time, the transaction will continue
and then will come out no matter whether the transaction is completed or
not.

But what I am looking for is different. This is required in the
following case:
Suppose through Curl I am downloading some big chunk of data, but since
the connection is slow data comes to me at delayed interval, then my
application would have to wait long time. But if I can set the
transaction timeout for X second, then my application would wait for X
seconds only and then come out if I don't receive data within period X.

Regards,
Debojyoti Pal

Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-15