Changeset 45381 in vbox
- Timestamp:
- Apr 5, 2013 3:00:45 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/iprt/err.h (modified) (1 diff)
-
src/VBox/Runtime/common/misc/http.cpp (modified) (1 diff)
-
src/VBox/Runtime/testcase/tstHttp.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/err.h
r44528 r45381 1574 1574 /** The server did not understand the request due to bad syntax. */ 1575 1575 #define VERR_HTTP_BAD_REQUEST (-887) 1576 /** Couldn't connect to the server (proxy?) */ 1577 #define VERR_HTTP_COULDNT_CONNECT (-888) 1576 1578 /** @} */ 1577 1579 -
trunk/src/VBox/Runtime/common/misc/http.cpp
r45343 r45381 340 340 rc = VERR_HTTP_NOT_FOUND; 341 341 break; 342 case CURLE_COULDNT_CONNECT: 343 rc = VERR_HTTP_COULDNT_CONNECT; 344 break; 342 345 default: 343 346 break; -
trunk/src/VBox/Runtime/testcase/tstHttp.cpp
r45366 r45381 42 42 unsigned cErrors = 0; 43 43 44 RTR3InitExeNoArguments( RTR3INIT_FLAGS_SUPLIB);44 RTR3InitExeNoArguments(0); 45 45 46 46 RTHTTP hHttp; … … 212 212 &pszBuf); 213 213 214 if (RT_FAILURE(rc)) 214 if ( RT_FAILURE(rc) 215 && rc != VERR_HTTP_COULDNT_CONNECT) 215 216 cErrors++; 216 217
Note:
See TracChangeset
for help on using the changeset viewer.

