Index: /trunk/include/iprt/err.h
===================================================================
--- /trunk/include/iprt/err.h	(revision 45380)
+++ /trunk/include/iprt/err.h	(revision 45381)
@@ -1574,4 +1574,6 @@
 /** The server did not understand the request due to bad syntax. */
 #define VERR_HTTP_BAD_REQUEST                   (-887)
+/** Couldn't connect to the server (proxy?) */
+#define VERR_HTTP_COULDNT_CONNECT               (-888)
 /** @} */
 
Index: /trunk/src/VBox/Runtime/common/misc/http.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/misc/http.cpp	(revision 45380)
+++ /trunk/src/VBox/Runtime/common/misc/http.cpp	(revision 45381)
@@ -340,4 +340,7 @@
                 rc = VERR_HTTP_NOT_FOUND;
                 break;
+            case CURLE_COULDNT_CONNECT:
+                rc = VERR_HTTP_COULDNT_CONNECT;
+                break;
             default:
                 break;
Index: /trunk/src/VBox/Runtime/testcase/tstHttp.cpp
===================================================================
--- /trunk/src/VBox/Runtime/testcase/tstHttp.cpp	(revision 45380)
+++ /trunk/src/VBox/Runtime/testcase/tstHttp.cpp	(revision 45381)
@@ -42,5 +42,5 @@
     unsigned cErrors = 0;
 
-    RTR3InitExeNoArguments(RTR3INIT_FLAGS_SUPLIB);
+    RTR3InitExeNoArguments(0);
 
     RTHTTP hHttp;
@@ -212,5 +212,6 @@
                        &pszBuf);
 
-    if (RT_FAILURE(rc))
+    if (   RT_FAILURE(rc)
+        && rc != VERR_HTTP_COULDNT_CONNECT)
         cErrors++;
 
