cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: connection termination without getting the response

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Tue, 19 Jan 2010 08:09:24 -0600

On Tue, Jan 19, 2010 at 7:55 AM, Bhadraji D wrote:

> I want to terminate the connection without getting the response
> from the http server.Is this possible  in libcurl C API ?.

It sounds like you want CURLOPT_CONNECT_ONLY, see:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCONNECTONLY

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