cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: make onlcurl-library@cool.haxx.seonly connect, but not issue GET request

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Mar 2011 22:07:34 +0100 (CET)

On Mon, 14 Mar 2011, Pankaj Takawale wrote:

> OS Platform is linux 2.6.18
> curl is 7.15.4

That's a very old version, please consider upgrading!

> I'm polling https server twice a sec. Server is breaking connection every
> minute one to three times (no particular pattern timing wise) Is there any
> way to tell curl to make only connection (but not issue http GET) with
> server if connection is broken?

No, libcurl has no such ability. After all, what would it do with the
connection after just connecting to the server again? Seems rather pointless
to me...

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