{"action":"created","issue":{"url":"https://api.github.com/repos/BOINC/boinc-ng/issues/133","labels_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/133/comments","events_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/133/events","html_url":"https://github.com/BOINC/boinc-ng/issues/133","id":56436465,"number":133,"title":"Reduce bandwidth used when server is out of disk space","user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/C:%20Server%20-%20File%20Upload%20Handler","name":"C: Server - File Upload Handler","color":"0000aa"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/P:%20Major","name":"P: Major","color":"f6f6f6"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/R:%20fixed","name":"R: fixed","color":"55ff55"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/T:%20Enhancement","name":"T: Enhancement","color":"cccccc"}],"state":"closed","locked":false,"assignee":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BOINC/boinc-ng/milestones/3","labels_url":"https://api.github.com/repos/BOINC/boinc-ng/milestones/3/labels","id":964209,"number":3,"title":"Undetermined","description":"Features for this release:\r\n\r\n * WIN: Streamline installer for mass deployments using either Installshield or WiX\r\n","creator":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"open_issues":361,"closed_issues":770,"state":"open","created_at":"2015-02-03T19:47:35Z","updated_at":"2015-02-04T06:29:55Z","due_on":"1970-01-01T00:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-03T21:01:31Z","updated_at":"2015-02-04T08:13:51Z","closed_at":"2015-02-03T21:01:41Z","body":"**Reported by Thyme Lawn on 14 Jul 37321181 01:20 UTC**\nCPDN has a server disk space problem at the moment, which means that file uploads are being rejected with a '''No space left on device''' message.  But this is only happening ''after'' the upload has been completed.  The problem is that we're talking about 5 or 8MB worth of data being uploaded on ''every'' upload attempt of a single file.\r\n\r\nIf the client was modified to send '''<nbytes>file size</nbytes>''' in its '''<data_server_request>''' message the file upload handler could prevent any file transfer that's going to fail by a number of means, including (but not limited to):\r\n\r\n1. including an acknowledgment status tag in the '''<data_server_reply>''' block, possibly with another tag specifying the duration the client should wait before retrying a denied request.\r\n\r\n2. responding with '''413 Request Entity Too Large''' instead of '''200 OK'''.\r\n\r\nPersonally I'd prefer the first option because it allows for requests being denied for reasons other than shortage of disk space (e.g. load balancing).\r\n\r\nThis requires an update to the client and the file upload handler."},"comment":{"url":"https://api.github.com/repos/BOINC/boinc-ng/issues/comments/72807247","html_url":"https://github.com/BOINC/boinc-ng/issues/133#issuecomment-72807247","issue_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/133","id":72807247,"user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T08:13:51Z","updated_at":"2015-02-04T08:13:51Z","body":"**Commented by ballen on 9 Sep 37682733 00:26 UTC**\nIf someone agrees to modify the client, then I'll modify the file upload handler.\r\n\r\nCheers,\r\n      Bruce"}}