From 9df3ec99096397719121a190a3f914922db18a43 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Wed, 25 Jun 2003 20:12:51 +0000 Subject: [PATCH] output 'file size exceeded' instead of 'couldn't upload files' when appropriate svn path=/trunk/boinc/; revision=1590 --- checkin_notes | 9 +++++++++ client/client_state.C | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 6366528f55..91b1b310d9 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/client_state.C b/client/client_state.C index 304c85ad92..0d861cb1fe 100644 --- a/client/client_state.C +++ b/client/client_state.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++;