Commit Graph

5 Commits

Author SHA1 Message Date
Svyatoslav Krasnov 097fb464ed add check_download_file function 2022-06-25 19:44:28 +00:00
Christian Beer 614376be84 Sched: make get_file_size request in file_upload_handler read-only
* If there is a size discrepancy between server and client this needs to be handled in handle_file_upload()
* Setting a write lock on a read only file does not work obviously. Instead try to see if another process has a write lock and continue if not. If another process is still writing to the file there is no need to determine the size.
2017-08-22 11:40:44 +02:00
David Anderson 13a5b9bf3e change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
Christian Beer b031fff422 check return value of mkdir()
Also gives a more sensible error message where get_log_path() is used.
fixes CID 27696 found by Coverity
2015-10-28 10:50:15 +01:00
David Anderson aca1aead5f server: shuffle code so that the file upload handler doesn't need MySQL
Also (client): remove notices about app_config.xml after problem is fixed
2014-06-17 18:07:45 -07:00