Changeset 85000 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jun 29, 2020 4:51:21 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138895
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/http-curl.cpp
r84995 r85000 268 268 /** @} */ 269 269 270 /** Buffer for human readable error messages from curl on failures or problems. */ 271 char szErrorBuffer[CURL_ERROR_SIZE]; 270 272 } RTHTTPINTERNAL; 271 273 /** Pointer to an internal HTTP client instance. */ … … 398 400 pThis->offUploadContent = 0; 399 401 402 /* ask curl to give us back error messages */ 403 curl_easy_setopt(pThis->pCurl, CURLOPT_ERRORBUFFER, pThis->szErrorBuffer); 400 404 401 405 *phHttp = (RTHTTP)pThis; … … 2841 2845 break; 2842 2846 } 2843 Log(("rtHttpGetCalcStatus: rc=%Rrc rcCurl=%u\n", rc, rcCurl)); 2847 Log(("%s: %Rrc: %u = %s%s%.*s\n", 2848 __FUNCTION__, 2849 rc, rcCurl, curl_easy_strerror((CURLcode)rcCurl), 2850 pThis->szErrorBuffer[0] != '\0' ? ": " : "", 2851 (int) sizeof(pThis->szErrorBuffer), 2852 pThis->szErrorBuffer[0] != '\0' ? pThis->szErrorBuffer : "")); 2844 2853 } 2845 2854
Note:
See TracChangeset
for help on using the changeset viewer.