Commit Graph

5673 Commits

Author SHA1 Message Date
David Anderson a4786e496b *** empty log message ***
svn path=/trunk/boinc/; revision=5869
2005-04-15 21:05:58 +00:00
Rom Walton a323c4cdf8 *** empty log message ***
svn path=/trunk/boinc/; revision=5868
2005-04-15 20:49:23 +00:00
David Anderson e17f856eeb *** empty log message ***
svn path=/trunk/boinc/; revision=5867
2005-04-15 20:07:42 +00:00
Bruce Allen d719fcfb88 file_upload_handler: fixed another bug. If you fopen(path, "a") in
append mode then fseek() then write to the file, the fseek() HAS
NO EFFECT.  This is documented ANSI C.  So I have eliminated the
fseek.  We now check that the file size corresponds exactly to the
claimed offset of the data.  If they do not agree then return a
transient error to force the host to ask again for the file length
and re-transmit data.

svn path=/trunk/boinc/; revision=5866
2005-04-15 19:44:26 +00:00
David Anderson aeea30f193 *** empty log message ***
svn path=/trunk/boinc/; revision=5865
2005-04-15 19:33:47 +00:00
Rom Walton 3d371a7a27 *** empty log message ***
svn path=/trunk/boinc/; revision=5864
2005-04-15 19:14:28 +00:00
Rom Walton 907a7cb7f0 *** empty log message ***
svn path=/trunk/boinc/; revision=5863
2005-04-15 19:01:25 +00:00
David Anderson ff226313c3 *** empty log message ***
svn path=/trunk/boinc/; revision=5862
2005-04-15 18:50:11 +00:00
Rom Walton 94f469db26 *** empty log message ***
svn path=/trunk/boinc/; revision=5861
2005-04-15 18:45:06 +00:00
David Anderson 05ece15a25 *** empty log message ***
svn path=/trunk/boinc/; revision=5860
2005-04-15 18:43:53 +00:00
Rom Walton 1ebf1384db *** empty log message ***
svn path=/trunk/boinc/; revision=5859
2005-04-15 18:25:49 +00:00
Rom Walton 925f06f829 *** empty log message ***
svn path=/trunk/boinc/; revision=5858
2005-04-15 18:08:05 +00:00
Rom Walton c2f9448fde *** empty log message ***
svn path=/trunk/boinc/; revision=5857
2005-04-15 17:52:42 +00:00
Jens Seidler 5ad1cc6c8a Localization: Clientgui and web language files updated: Spanish (es)
svn path=/trunk/boinc/; revision=5856
2005-04-15 17:12:27 +00:00
Charlie Fenton 002253d97d *** empty log message ***
svn path=/trunk/boinc/; revision=5855
2005-04-15 09:04:15 +00:00
Rom Walton 02d3c6fda5 *** empty log message ***
svn path=/trunk/boinc/; revision=5854
2005-04-14 23:10:49 +00:00
Jens Seidler 893c211845 Localization: Clientgui and web language files updated: Catalan (ca)
svn path=/trunk/boinc/; revision=5853
2005-04-14 21:14:00 +00:00
Bruce Allen 8feee4d258 file_upload_handler: ignore <data_server_request> tag
svn path=/trunk/boinc/; revision=5852
2005-04-14 18:10:39 +00:00
Bruce Allen 314c3b3d88 - file_upload_handler: when responding to a request for the
file length, check first that the file is not already
in open (locked) by another file_upload_handler.  If the
file IS open (locked), then do NOT hand back the file length.
Instead return a transient error. This will prevent
transmission of upload data starting at the wrong offset.

- To help understand when/why multiple file_upload_handlers
are trying to write to the same file, set default log level
to DEBUG.  Also log messages at level CRITICAL if there is
an attempt to write to a locked file. We may want to change
this level to DEBUG in the future, if this turns out to be
'normal' TCP buffering of data between host and server.

svn path=/trunk/boinc/; revision=5851
2005-04-14 18:01:54 +00:00
David Anderson 9a01dc01c5 *** empty log message ***
svn path=/trunk/boinc/; revision=5850
2005-04-14 04:25:56 +00:00
David Anderson 79d2afec53 *** empty log message ***
svn path=/trunk/boinc/; revision=5849
2005-04-13 23:28:47 +00:00
David Anderson 6b60dc9e76 *** empty log message ***
svn path=/trunk/boinc/; revision=5848
2005-04-13 22:52:05 +00:00
Rom Walton 10b314a1de *** empty log message ***
svn path=/trunk/boinc/; revision=5847
2005-04-13 22:38:37 +00:00
David Anderson 534ead4118 *** empty log message ***
svn path=/trunk/boinc/; revision=5846
2005-04-13 18:38:55 +00:00
David Anderson b78353d643 version 4.35
svn path=/trunk/boinc/; revision=5845
2005-04-13 18:32:30 +00:00
Rom Walton 9471802db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5844
2005-04-12 23:58:01 +00:00
David Anderson 44a11e9d20 *** empty log message ***
svn path=/trunk/boinc/; revision=5843
2005-04-12 23:07:04 +00:00
David Anderson 78eb404c66 *** empty log message ***
svn path=/trunk/boinc/; revision=5842
2005-04-12 23:03:52 +00:00
David Anderson 34bd6778d6 *** empty log message ***
svn path=/trunk/boinc/; revision=5841
2005-04-12 22:53:35 +00:00
David Anderson 1b0439c9a9 *** empty log message ***
svn path=/trunk/boinc/; revision=5840
2005-04-12 21:54:40 +00:00
Rom Walton 8a4de289e8 *** empty log message ***
svn path=/trunk/boinc/; revision=5839
2005-04-12 21:38:19 +00:00
David Anderson 8352bb38ae *** empty log message ***
svn path=/trunk/boinc/; revision=5838
2005-04-12 18:08:51 +00:00
Bruce Allen 4f2f6d4011 File upload handler: to prevent multiple instances of file_upload_handler
from trying to upload the SAME file, use lockf() to place an advisory lock on
the file.  David, I probably should have discussed this with you first, but it's
too early in the morning.  Please revert if this is a mistake!

svn path=/trunk/boinc/; revision=5837
2005-04-12 14:34:07 +00:00
Bruce Allen b9d649fbbc Scheduler: with locality scheduling, if we touch a trigger file then
sleep, and then try again, but DON'T find more work available, give up
trying to make work for that file.

svn path=/trunk/boinc/; revision=5836
2005-04-12 01:39:01 +00:00
Rom Walton 9b6497262c *** empty log message ***
svn path=/trunk/boinc/; revision=5835
2005-04-12 00:18:15 +00:00
Rom Walton 441f2ae94a *** empty log message ***
svn path=/trunk/boinc/; revision=5834
2005-04-12 00:16:49 +00:00
David Anderson b0c92e0e03 *** empty log message ***
svn path=/trunk/boinc/; revision=5833
2005-04-11 22:05:22 +00:00
David Anderson 53b3bbda1d *** empty log message ***
svn path=/trunk/boinc/; revision=5832
2005-04-11 20:30:24 +00:00
Rom Walton 50fd071f7a *** empty log message ***
svn path=/trunk/boinc/; revision=5831
2005-04-11 20:04:38 +00:00
Rom Walton a48cae519d *** empty log message ***
svn path=/trunk/boinc/; revision=5829
2005-04-11 19:50:14 +00:00
David Anderson 76e15132fc *** empty log message ***
svn path=/trunk/boinc/; revision=5828
2005-04-11 19:29:36 +00:00
Rom Walton c5fb079b58 *** empty log message ***
svn path=/trunk/boinc/; revision=5827
2005-04-11 19:09:55 +00:00
David Anderson 38c306c40d *** empty log message ***
svn path=/trunk/boinc/; revision=5826
2005-04-11 18:24:36 +00:00
Bruce Allen dbed4d264c Added one more PID to log file
svn path=/trunk/boinc/; revision=5825
2005-04-11 16:14:56 +00:00
Bruce Allen 48a37d0cd2 Added signal handler to file_upload_handler along with a bit
of logging.  This is intended to help debug file uploading
problems, where apache kills the file upload handler because
something is going wrong.

svn path=/trunk/boinc/; revision=5824
2005-04-11 09:00:50 +00:00
Bruce Allen 06a2ff4e4e Remove redundant EXTRA_DIST
svn path=/trunk/boinc/; revision=5823
2005-04-11 08:04:03 +00:00
David Anderson 5eac73217c *** empty log message ***
svn path=/trunk/boinc/; revision=5822
2005-04-11 07:06:52 +00:00
David Anderson 971b58e501 *** empty log message ***
svn path=/trunk/boinc/; revision=5821
2005-04-11 05:47:41 +00:00
David Anderson f0e0f67371 *** empty log message ***
svn path=/trunk/boinc/; revision=5820
2005-04-10 19:01:23 +00:00
David Anderson ac5f4b014c *** empty log message ***
svn path=/trunk/boinc/; revision=5819
2005-04-10 18:36:12 +00:00