cURL / Mailing Lists / curl-library / Single Mail


Re: Need help to prepare http buffer using curl

From: Daniel Stenberg <>
Date: Tue, 10 May 2016 14:10:58 +0200 (CEST)

On Tue, 10 May 2016, smruti kumari wrote:

> I wanted to use the curl in non-blocking mode. So I need to use
> curl_easy_send() and curl_easy_recv() API to send and receive the data
> respectively.

That's the wrong conclusion. You need to use the multi interface:

> Can we get the buffer which contains http header after setting the option
> using API curl_easy_setopt() ?

1. There's no HTTP header created after curl_easy_setopt() was used

2. libcurl doesn't expose that kind of internals

List admin:
Received on 2016-05-10