Mailing Lists
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1335 segfault CURLOPT_HTTPHEADER v7.35.1-DEV
From: Attila Mark <ambitslix_at_users.sf.net>
Date: Sat, 08 Feb 2014 05:27:29 +0000
--- ** [bugs:#1335] segfault CURLOPT_HTTPHEADER v7.35.1-DEV** **Status:** open **Created:** Sat Feb 08, 2014 05:27 AM UTC by Attila Mark **Last Updated:** Sat Feb 08, 2014 05:27 AM UTC **Owner:** nobody With CURLOPT_HTTPHEADER set it core dumps: #include <stdio.h> #include <curl/curl.h> int main( int argc, char *argv[]){ CURL *handle; CURLcode res; curl_global_init(CURL_GLOBAL_ALL); if( !(handle = curl_easy_init())) return( 1); curl_easy_setopt( handle, CURLOPT_URL, "cvm:8080/list"); curl_easy_setopt( handle, CURLOPT_VERBOSE, 1L); curl_easy_setopt( handle, CURLOPT_HTTPHEADER, "Accept: application/xml"); if( (res = curl_easy_perform( handle)) != CURLE_OK){ curl_easy_strerror(res); } curl_easy_cleanup( handle); return(0); } * About to connect() to cvm port 8080 (#0) * Trying 192.168.56.101... * connected Segmentation fault (core dumped) --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-02-08 These mail archives are generated by hypermail. |
Page updated December 29, 2013.
web site info