scheduler: don't try to send_file_deletes() with an incomplete request

svn path=/trunk/boinc/; revision=25670
This commit is contained in:
Bernd Machenschalk 2012-05-11 09:45:02 +00:00
parent ceef77edfc
commit 003700930e
2 changed files with 11 additions and 4 deletions

View File

@ -3808,3 +3808,10 @@ David 10 May 2012
lib/
diagnostics.cpp
Bernd 8 May 2012
- scheduler: don't try to send_file_deletes() with an incomplete request
sched/
handle_request.cpp

View File

@ -1382,16 +1382,16 @@ void handle_request(FILE* fin, FILE* fout, char* code_sign_key) {
double start_time = dtime();
if (!p){
process_request(code_sign_key);
if ((config.locality_scheduling || config.locality_scheduler_fraction) && !sreply.nucleus_only) {
send_file_deletes();
}
} else {
sprintf(buf, "Error in request message: %s", p);
log_incomplete_request();
sreply.insert_message(buf, "low");
}
if ((config.locality_scheduling || config.locality_scheduler_fraction) && !sreply.nucleus_only) {
send_file_deletes();
}
if (config.debug_user_messages) {
log_user_messages();
}