From 88b1ca7cba5c94b11c3a6510146ba410e8858771 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Aug 2020 08:39:29 +0200 Subject: CURLE_PROXY: new error code Failures clearly returned from a (SOCKS) proxy now causes this return code. Previously the situation was not very clear as what would be returned and when. In addition: when this error code is returned, an application can use CURLINFO_PROXY_ERROR to query libcurl for the detailed error, which then returns a value from the new 'CURLproxycode' enum. Closes #5770 --- tests/data/test1538 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/data/test1538') diff --git a/tests/data/test1538 b/tests/data/test1538 index ea8eddbb8..03481d56e 100644 --- a/tests/data/test1538 +++ b/tests/data/test1538 @@ -129,7 +129,8 @@ e93: API function called from within callback e94: An authentication function returned an error e95: HTTP/3 error e96: QUIC connection error -e97: Unknown error +e97: proxy handshake error +e98: Unknown error m-1: Please call curl_multi_perform() soon m0: No error m1: Invalid multi handle -- cgit v1.2.3