Skip Menu |

This queue is for tickets about the WWW-Curl CPAN distribution.

Report information
The Basics
Id: 124503
Status: new
Priority: 0/
Queue: WWW-Curl

People
Owner: Nobody in particular
Requestors: vgrinshp [...] akamai.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: CURLOPT_RESOLVE is broken in 4.17, causes perl to crash.
Date: Tue, 20 Feb 2018 21:54:01 -0500
To: bug-WWW-Curl [...] rt.cpan.org
From: Vadim Grinshpun <vgrinshp [...] akamai.com>
WWW-Curl 4.17 added "#ifdef CURLOPT_RESOLVE" checks around the uses of CURLOPT_RESOLVE in Curl.xs Unfortunately, at least in the recent versions of libcurl, CURLOPT_RESOLVE (and other CURLOPT_* options) are enum members rather than #define'd macros. As a result, the #ifdef always fails, the CURLOPT_RESOLVE support is not compiled in, and attempts to use that option in a script causes the perl interpeter to dump core. Problem was encountered with: - WWW-Curl 4.17 - libcurl 7.54 - perl 5.18 - Ubuntu 16.04