On 3/1/2016 12:02 PM, Vincas Razma wrote:
Hi,
One suggestion to solving issues described here:
https://curl.haxx.se/docs/faq.html#Protocol_xxx_not_supported_or_di
Is to change log message from:
Protocol https not supported or disabled in libcurl
To:
Protocol " https" not supported or disabled in libcurl
This would make such errors a lot more quicker to be noticed as
whitespace is usually hard to notice.
libcurl does that since 7.38, see
https://github.com/curl/curl/commit/5b22c47
curl foo://bar
curl: (1) Protocol "foo" not supported or disabled in libcurl
In libcurl verbose and CURLOPT_ERRORBUFFER:
Protocol "foo" not supported or disabled in libcurl
Error messages may change, check against the error code
CURLE_UNSUPPORTED_PROTOCOL (1) instead.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html