VirtualBox

Changeset 58738 in vbox


Ignore:
Timestamp:
Nov 18, 2015 12:34:39 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104175
Message:

Runtime/http-curl: distinguish between "URL not found" and "host not found"

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/err.h

    r58068 r58738  
    17081708/** Proxy couldn't be resolved. */
    17091709#define VERR_HTTP_PROXY_NOT_FOUND               (-895)
     1710/** The remote host couldn't be resolved. */
     1711#define VERR_HTTP_HOST_NOT_FOUND                (-896)
    17101712/** Unexpected cURL error configure the proxy. */
    17111713#define VERR_HTTP_CURL_PROXY_CONFIG             (-897)
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r58419 r58738  
    20782078            case CURLE_URL_MALFORMAT:
    20792079            case CURLE_COULDNT_RESOLVE_HOST:
    2080                 rc = VERR_HTTP_NOT_FOUND;
     2080                rc = VERR_HTTP_HOST_NOT_FOUND;
    20812081                break;
    20822082            case CURLE_COULDNT_CONNECT:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette