boinc/sched
David Anderson be50103751 file upoad handler: if file is already there, don't upload again
Notes:
1) We still need to read all the data from socket (copy_socket_to_null());
otherwise the client will block on the send, and never get the success reply.
The previous approach (read-only file) didn't do this.
All we're saving is disk I/O on server.

2) The client reports a result only after it know that
all its output files have successfully been uploaded.
It won't re-upload anything if that's the case.
2016-02-02 11:51:45 -08:00
..
Makefile.am install sched_util_basic.h 2015-10-08 15:22:49 +02:00
adjust_user_priority.cpp use snprintf to prevent buffer overflow 2015-10-21 15:47:32 +02:00
antique_file_deleter.cpp antique file deleter: skip no_delete WUs in finding oldest WU 2014-07-16 19:25:15 -07:00
assimilate_handler.h Daemons: add usage function to project specific handler 2015-10-13 16:39:04 +02:00
assimilator.cpp Merge branch 'master' into fix_defects_server 2015-11-09 17:55:21 +01:00
assimilator.py
census.cpp
credit.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
credit.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
credit_test.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
db_dump.cpp use snprintf() to prevent buffer overflow 2015-10-22 15:41:02 +02:00
db_dump_spec.xml
db_purge.cpp use safe_strcat() and snprintf() to prevent buffer overflow 2015-10-22 16:07:22 +02:00
delete_file.cpp
edf_sim.cpp
edf_sim.h initialize fields in constructor 2015-10-22 16:54:21 +02:00
feeder.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
file_deleter.cpp Server: ignore infinite loop defects 2015-11-04 08:20:30 +01:00
file_upload_handler.cpp file upoad handler: if file is already there, don't upload again 2016-02-02 11:51:45 -08:00
get_file.cpp
handle_request.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
handle_request.h
hr.cpp client: timestamp all writes to stderr 2014-11-14 13:07:24 -08:00
hr.h
hr_info.cpp
hr_info.h client: timestamp all writes to stderr 2014-11-14 13:07:24 -08:00
make_work.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
makefile_plan_class_spec
makefile_validator_test server: fixes/improvements to validator_test 2014-10-14 10:25:28 -07:00
message_handler.cpp Server: ignore infinite loop defects 2015-11-04 08:20:30 +01:00
plan_class_spec.cpp Allow machines that don't report android version to get work if 2015-05-12 09:30:43 -07:00
plan_class_spec.h scheduler: support Android version limits in XML plan class spec 2015-01-05 16:32:30 -08:00
plan_class_spec.xml.sample
pshelper Remote server management: 2014-05-26 14:13:58 +02:00
put_file.cpp
pymw_assimilator.py
sample_assimilator.cpp Server (assimilator): add random string to result file names 2015-11-16 19:28:30 -08:00
sample_bitwise_validator.cpp prevent resource leak in error case 2015-10-28 17:23:32 +01:00
sample_db_dump_spec.xml
sample_dummy_assimilator.cpp Server (assimilator): add random string to result file names 2015-11-16 19:28:30 -08:00
sample_hr_info.txt
sample_substr_validator.cpp sample_substr_validator: bug fix for --reject_if_present 2015-01-31 18:30:36 -08:00
sample_trivial_validator.cpp
sample_work_generator.cpp use snprintf to prevent buffer overflow 2015-10-21 15:39:21 +02:00
sched_array.cpp check return of scan_work_array() 2015-10-28 17:28:35 +01:00
sched_array.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_assign.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_assign.h
sched_check.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_check.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_config.cpp use snprintf to prevent buffer overflow 2015-10-21 16:50:30 +02:00
sched_config.h server: add <hr_class_static> option 2014-12-10 23:18:40 -08:00
sched_customize.cpp scheduler: message tweak 2015-11-04 11:57:17 -08:00
sched_customize.h
sched_driver.cpp sanitize nrequests option 2015-10-28 17:45:25 +01:00
sched_files.cpp
sched_files.h
sched_hr.cpp
sched_hr.h
sched_limit.cpp
sched_limit.h
sched_locality.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_locality.h
sched_main.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
sched_main.h
sched_nci.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_nci.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_resend.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_resend.h
sched_result.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
sched_result.h
sched_score.cpp scheduler: add result priority to job score 2015-10-25 23:34:45 -07:00
sched_score.h scheduler: fix 64-bit ID bug; change default MAX_APP_VERSIONS to 100 2015-07-29 15:55:01 -07:00
sched_send.cpp ignore false-positive buffer overflow 2015-10-23 13:10:17 +02:00
sched_send.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_shmem.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
sched_shmem.h server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
sched_timezone.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
sched_timezone.h
sched_types.cpp check return vlaue of get_tag() 2015-10-29 17:41:52 +01:00
sched_types.h initialize fields in constructor 2015-10-23 13:46:59 +02:00
sched_util.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_util.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_util_basic.cpp use safe_strcat() to prevent buffer overflow 2015-10-28 11:15:21 +01:00
sched_util_basic.h check return value of mkdir() 2015-10-28 10:50:15 +01:00
sched_version.cpp use strcpy() for fixed string 2015-10-28 11:25:21 +01:00
sched_version.h
script_assimilator.cpp Assimilator: cosmetic changes to usage output 2015-10-29 09:18:18 +01:00
script_validator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
show_shmem.cpp
single_job_assimilator.cpp Server (assimilator): add random string to result file names 2015-11-16 19:28:30 -08:00
size_regulator.cpp use snprintf to prevent buffer overflow 2015-10-21 16:37:55 +02:00
start Server: fix sched/start to work with older python version 2015-11-16 13:27:15 +01:00
target_batch.cpp
testasm.py
time_stats_log.cpp check return value of dup_element_contents() 2015-10-28 14:22:21 +01:00
time_stats_log.h check return value of dup_element_contents() 2015-10-28 14:22:21 +01:00
transitioner.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
transitioner_catchup.php transitioner_catchup.php: fix it. 2015-07-10 10:24:40 -07:00
trickle_credit.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_deadline.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_echo.cpp
trickle_handler.cpp Server: ignore infinite loop defects 2015-11-04 08:20:30 +01:00
trickle_handler.h
update_stats.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
validate_util.cpp fix comment about output filename random part 2015-11-20 13:58:28 -08:00
validate_util.h fix typo 2015-11-19 19:29:30 -08:00
validate_util2.cpp validator: fix 64-bit ID problem 2015-07-28 16:19:31 -07:00
validate_util2.h validator: fix 64-bit ID problem 2015-07-28 16:19:31 -07:00
validator.cpp check return value of host.update_diff_validator() 2015-10-28 14:41:09 +01:00
validator.h
validator_test.cpp server: fixes/improvements to validator_test 2014-10-14 10:25:28 -07:00
wu_check.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00