Skip to content

CTest: Support the NO_PROXY proxy blacklist

Dennis Klein requested to merge dennisklein/cmake:ctest_support_no_proxy into master

NO_PROXY support was introduced in the curl_easy_setopt API eight years ago (https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html), so we should be on the safe side if people link against the system libcurl. I tested the proposed patch with the builtin cmcurl though (which is a recent version).

See on https://curl.haxx.se/docs/manpage.html the ENVIRONMENT section on how libcurl exposes the NO_PROXY option to the user.

If I missed to update any man page or anything else, please point it out to me :)

Best regards, Dennis

Edited by Dennis Klein

Merge request reports