mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5473
This commit is contained in:
parent
ad0f085756
commit
252b167955
|
@ -824,7 +824,11 @@ bool HTTP_OP_SET::poll(double) {
|
|||
htp->http_op_retval = 0;
|
||||
if (htp->hrh.content_length) {
|
||||
if ((htp->bytes_xferred-htp->file_offset) != htp->hrh.content_length) {
|
||||
scope_messages.printf("HTTP_OP_SET::poll(): reply size: %d\n", htp->bytes_xferred-htp->file_offset);
|
||||
scope_messages.printf(
|
||||
"HTTP_OP_SET::poll(): ERR_IO: bytes transfred: %d,"
|
||||
"file offset: %d, expected content length: %d\n",
|
||||
htp->bytes_xferred, htp->file_offset, htp->hrh.content_length
|
||||
);
|
||||
htp->http_op_retval = ERR_IO;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue