{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15321","labels_url":"https://api.github.com/repos/owncloud/core/issues/15321/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15321/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15321/events","html_url":"https://github.com/owncloud/core/issues/15321","id":65320868,"number":15321,"title":"Requesting large ranges in webdav results in poor performance","user":{"login":"dratini0","id":1625485,"avatar_url":"https://avatars.githubusercontent.com/u/1625485?v=3","gravatar_id":"","url":"https://api.github.com/users/dratini0","html_url":"https://github.com/dratini0","followers_url":"https://api.github.com/users/dratini0/followers","following_url":"https://api.github.com/users/dratini0/following{/other_user}","gists_url":"https://api.github.com/users/dratini0/gists{/gist_id}","starred_url":"https://api.github.com/users/dratini0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dratini0/subscriptions","organizations_url":"https://api.github.com/users/dratini0/orgs","repos_url":"https://api.github.com/users/dratini0/repos","events_url":"https://api.github.com/users/dratini0/events{/privacy}","received_events_url":"https://api.github.com/users/dratini0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_external","name":"app:files_external","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-current","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":560,"closed_issues":437,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2015-11-24T15:21:47Z","due_on":"2016-02-09T05:00:00Z","closed_at":null},"comments":11,"created_at":"2015-03-30T22:49:27Z","updated_at":"2015-11-24T15:21:47Z","closed_at":"2015-11-24T15:21:47Z","body":"I was trying to mount a webdav share with GVFS, and then play a 10G video, hoping it would work, and it didn't. Turns out it requested ranges from the file, which OC apparently does not like.\r\n\r\n### Steps to reproduce\r\n1. Put a large file on an Owncloud server\r\n2. Try to request a huge chunk of it using webdav and the HTTP range header. See below for an example.\r\n\r\n### Expected behaviour\r\nThe download should start immediately\r\n\r\n### Actual behaviour\r\nOwncloud went ahead to create a temporary file equal in size to the requested range, which took about a minute (happens for local files and local shares)\r\n\r\n### Server configuration\r\n**Operating system**:\r\nDebian 7.8 amd64\r\n**Web server:**\r\nnginx 1.6.2-5~bpo70+1\r\n**Database:**\r\nMySQL 5.5.41-0+wheezy1\r\n**PHP version:**\r\nPHP 5.4.39-0+deb7u2\r\n**ownCloud version:** (see ownCloud admin page)\r\nownCloud 8.0.2-8\r\n**Updated from an older ownCloud or fresh install:**\r\nHave been rolling since 6.x\r\n**List of activated apps:**\r\n - activity\r\n - calendar\r\n - contacts\r\n - documents\r\n - external\r\n - files\r\n - files_external\r\n - files_pdfviewer\r\n - files_sharing\r\n - files_texteditor\r\n - files_trashbin\r\n - files_versions\r\n - files_videoviewer\r\n - gallery\r\n - news\r\n - notes\r\n\r\n**The content of config/config.php:**\r\n\r\n```php\r\n<?php\r\n$CONFIG = array (\r\n  'datadirectory' => '/home/oc_data',\r\n  'dbtype' => 'mysql',\r\n  'version' => '8.0.2.0',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'installed' => true,\r\n  'forcessl' => false,\r\n  'loglevel' => '0',\r\n  'log_authfailip' => true,\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'mail_smtpmode' => 'php',\r\n  'overwrite.cli.url' => '/owncloud',\r\n);\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:** none\r\n\r\n### Client configuration\r\n**Browser:**\r\ngvfs 1.22.2, netcat 1.105-7\r\n\r\n**Operating system:**\r\nDebian Jessie amd64\r\n\r\nA request that jammed my owncloud: (the file is 10704943577 bytes long)\r\n```\r\nGET /owncloud/remote.php/webdav/10G-Movie.mkv HTTP/1.1\r\nHost: ...\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-us, en;q=0.9, en;q=0.8\r\nConnection: Keep-Alive\r\nRange: bytes=40960-\r\nUser-Agent: gvfs/1.22.2\r\nAuthorization: Basic ...\r\nCookie: ...\r\n```\r\n\r\nP. s.: Sorry, I haven't had the opportunity to try in a newer install, but I haven't seen any discussion regarding the issue."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/159302484","html_url":"https://github.com/owncloud/core/issues/15321#issuecomment-159302484","issue_url":"https://api.github.com/repos/owncloud/core/issues/15321","id":159302484,"user":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T15:21:47Z","updated_at":"2015-11-24T15:21:47Z","body":"master is now on sabre 3.0 -> closing"}}