RE: CURLOPT_HEADERFUNCTION and buffer modifications
Date: Thu, 3 Oct 2019 08:00:56 +0000
Oh thanks and sorry for not noticing while it was actually written in bold.
Have a nice day,
Clément
De : curl-users [mailto:curl-users-bounces_at_cool.haxx.se] De la part de Jim Young via curl-users
Envoyé : mercredi 2 octobre 2019 22:57
À : Clément Gregoire via curl-users <curl-users_at_cool.haxx.se>
Cc : Jim Young <j4young_at_gmail.com>
Objet : Re: CURLOPT_HEADERFUNCTION and buffer modifications
On 10/2/2019 8:52 AM, Clément Gregoire via curl-users wrote:
I'm using CURLOPT_HEADERFUNCTION to read/parse headers, and it'd be useful for me if I could replace some characters with for example the '\0'. Typical usage would be for strtok.
Is this allowed ?
I know the header callback buffer member is `char*` and not `const char*` but I still wanted to make sure.
Hi Clement - you might want to pose your question to the libcurl mailing list. That's where people using the libcurl Curl hackers congregate. This forum is aimed more at command line curl users (though, of course, there is some overlap.)
Jim Young
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-10-03