From 003700930e5bd2afa3c4c8cc7eb0c456e4303161 Mon Sep 17 00:00:00 2001 From: Bernd Machenschalk Date: Fri, 11 May 2012 09:45:02 +0000 Subject: [PATCH] scheduler: don't try to send_file_deletes() with an incomplete request svn path=/trunk/boinc/; revision=25670 --- checkin_notes | 7 +++++++ sched/handle_request.cpp | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index 901a25ce53..3e7f1f179a 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 + diff --git a/sched/handle_request.cpp b/sched/handle_request.cpp index c6b1860a14..d0ba4870a1 100644 --- a/sched/handle_request.cpp +++ b/sched/handle_request.cpp @@ -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(); }