diff --git a/client/http.C b/client/http.C index df33416fe3..ece3a879ef 100644 --- a/client/http.C +++ b/client/http.C @@ -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; } }