mirror of https://github.com/BOINC/boinc.git
output 'file size exceeded' instead of 'couldn't upload files' when appropriate
svn path=/trunk/boinc/; revision=1590
This commit is contained in:
parent
5e593a8e30
commit
9df3ec9909
|
@ -5042,3 +5042,12 @@ Karl 2003/06/23
|
|||
test_uc.py
|
||||
sched/
|
||||
start_servers.C
|
||||
|
||||
Karl 2003/06/24
|
||||
- if application exceeds disk space limit, output message "Exceeded size
|
||||
limit" instead of "Couldn't upload files"
|
||||
|
||||
client/
|
||||
client_state.C
|
||||
sched/
|
||||
handle_request.C
|
||||
|
|
|
@ -1214,7 +1214,13 @@ bool CLIENT_STATE::garbage_collect() {
|
|||
if (!rp->ready_to_ack) {
|
||||
// had an error uploading a file for this result
|
||||
//
|
||||
report_result_error(*rp, 0, "Couldn't upload files");
|
||||
switch(failnum) {
|
||||
case ERR_FILE_TOO_BIG:
|
||||
report_result_error(*rp, 0, "Output file exceeded size limit");
|
||||
break;
|
||||
default:
|
||||
report_result_error(*rp, 0, "Couldn't upload files or other output file error");
|
||||
}
|
||||
}
|
||||
}
|
||||
rp->output_files[i].file_info->ref_cnt++;
|
||||
|
|
Loading…
Reference in New Issue