cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: CURL TIMEOUT Issue

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Jun 2010 19:43:33 +0200 (CEST)

On Tue, 1 Jun 2010, souvik.datta_at_wipro.com wrote:

> I am facing problem with CURL timeout. I am writing an application in which
> one thread is retrieving data in CURL's context and feeding the data to some
> other module. The issue that I am facing is that some times the server is
> not sending data and as a result CURL callback is not coming out from it's
> context. But I have set CURLOPT_LOWSPEED_TIME to 5 and
> CURLOPT_LOWSPEED_LIMIT to 5.

What libcurl version on what OS? What protocol? What exactly is libcurl
doing/waiting for at the moment you expect it to return due to the low speed?

> Also is there any way I can kill the CURL context ( which is waiting for
> data ) from another thread?

No.

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET