*** empty log message ***

svn path=/trunk/boinc/; revision=7473
This commit is contained in:
Rom Walton 2005-08-24 19:56:07 +00:00
parent a64ef5ca03
commit 72c0315ab3
1 changed files with 6 additions and 3 deletions

View File

@ -317,13 +317,16 @@ void NET_XFER_SET::got_select(FDSET_GROUP&, double timeout) {
// BOINC error codes here.
nxf->http_op_retval = HTTP_STATUS_INTERNAL_SERVER_ERROR;
if (nxf->CurlResult == CURLE_COULDNT_RESOLVE_HOST) {
msg_printf(0, MSG_ERROR, "Can't resolve hostname [%s] %s", nxf->hostname, nxf->strCurlResult);
msg_printf(0, MSG_ERROR, "Couldn't resolve hostname [%s]", nxf->hostname);
nxf->http_op_retval = ERR_GETHOSTBYNAME;
} else if (nxf->CurlResult == CURLE_COULDNT_RESOLVE_PROXY) {
msg_printf(0, MSG_ERROR, "Couldn't resolve proxy [%s]", nxf->hostname);
nxf->http_op_retval = ERR_GETHOSTBYNAME;
} else if (nxf->CurlResult == CURLE_COULDNT_CONNECT) {
msg_printf(0, MSG_ERROR, "Couldn't connect to hostname [%s] %s", nxf->hostname, nxf->strCurlResult);
msg_printf(0, MSG_ERROR, "Couldn't connect to hostname [%s]", nxf->hostname);
nxf->http_op_retval = ERR_IO;
} else if (nxf->CurlResult == CURLE_LOGIN_DENIED) {
msg_printf(0, MSG_ERROR, "Proxy Authentication Failed [%s] %s", nxf->hostname, nxf->strCurlResult);
msg_printf(0, MSG_ERROR, "Proxy Authentication Failed [%s]", nxf->hostname);
nxf->http_op_retval = HTTP_STATUS_PROXY_AUTH_REQ;
} else if (nxf->CurlResult == CURLE_READ_ERROR) {
nxf->http_op_retval = ERR_FOPEN;