- client: added some file_xfer_debug messages for file upload

svn path=/trunk/boinc/; revision=15144
This commit is contained in:
David Anderson 2008-05-07 23:14:26 +00:00
parent 58645a3be1
commit 9aa348660c
3 changed files with 24 additions and 0 deletions

View File

@ -3686,3 +3686,9 @@ David May 7 2008
lib/
coproc.C
unix_util.C,h
David May 7 2008
- client: added some file_xfer_debug messages for file upload
client/
file_xfer.C

View File

@ -157,6 +157,14 @@ int FILE_XFER::parse_upload_response(double &nbytes) {
if (parse_str(req1, "<message>", buf, sizeof(buf))) {
msg_printf(fip->project, MSG_INTERNAL_ERROR, "Error on file upload: %s", buf);
}
if (log_flags.file_xfer_debug) {
msg_printf(fip->project, MSG_INFO,
"[file_xfer_debug] parsing upload response: %s", req1
);
msg_printf(fip->project, MSG_INFO,
"[file_xfer_debug] parsing status: %d", status
);
}
return status;
}

View File

@ -1,6 +1,16 @@
<?
$project_news = array(
array("May 7, 2008",
"<a href=http://www.predictioncenter.org/casp8/index.cgi>CASP8</a>,
a competition for protein structure prediction, starts soon.
<a href=http://www.rechenkraft.net>Rechenkraft.net</a> is
sponsoring a team credit-race to support
<a href=http://boinc.fzk.de/poem>POEM@home</a>,
one of the CASP participants.
Results will be reported at
<a href=http://starmageddon.dyndns.org/pboinc/index.php>Planet BOINC</a>."
),
array("May 6, 2008",
"Alpha testing of BOINC software is done by volunteers.
Many thanks to <a href=http://isaac.ssl.berkeley.edu/alpha/top_testers.php>this month's top testers</a>."