curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

CURLOPT_PROTOCOLS_STR man page

From: dogma via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 14 Jun 2026 19:12:37 +0000

Hello,

The man page gives me the impression that if CURLE_UNSUPPORTED_PROTOCOL is returned, CURLOPT_PROTOCOLS_STR probably didn’t change anything.

But I found that passing it, e.g., "http,https,unrecognized" made it complain about unrecognized but it did change the allowed protocols to http and https, as I was hoping.

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-06-14