curl-library
Re: re-issue request
From: Dirk Manske <dm_at_nonitor.de>
Date: Wed, 9 Mar 2011 00:43:38 +0100
Date: Wed, 9 Mar 2011 00:43:38 +0100
On Wednesday 09 March 2011 00:29:43 Pankaj Takawale wrote:
> I'm using libcurl to fetch https page.
> Does curl re-issue GET request on its own if response from server comes late
> (say 300 ms) ?
No.
> Is there any option to do this?
Set a (connect) timeout. Check rc, try again if request has timed out.
I hope you want to annoy your own server. Abort a request after only 300ms
sounds very uncivil.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-09