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