Owncloud continues reading file after I cancel download

Steps to reproduce

  1. Install fresh owncloud
    2 Upload a big file or map any unit with data inside the data file user folder
  2. Try download
  3. Cancell it at any point

Expected behaviour
When you cancel a download at any point, server should stop reading the file, first of all because if you cancel the download of a 100G file for example, only when 1GB is downloaded, there is no need for the server to read the 99G left, and if you have a NFS storage as a external device or FTP or whatever, apart from giving disk io loads you are giving the server also network interface load, which makes no sense

Actual behaviour
Once I cancelled a download at any point the server continues reading the files until it finishes

Server configuration
Operating system: Debian 9.5.0

Web server: Apache 2.4.25

Database: mariadb

PHP version: 7.0.30

ownCloud version: ownCloud 10.0.10 (stable)

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: official webpage

Signing status (ownCloud 9.0 and above): No errors have been found.

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'ocip5tsyo676',
  'passwordsalt' => 'I+Ihb1cQ4Bx2u8G0laVPec+SdMpgu5',
  'secret' => '+8SiVIJNubCvJp3HwM42iYg0MbRttXw9TswCTlTbBT8yjT1i',
  'trusted_domains' =>
  array (
    0 => '192.168.1.203',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'http://192.168.1.203',
  'dbtype' => 'mysql',
  'version' => '10.0.10.4',
  'dbname' => 'owncloud',
  'dbhost' => '127.0.0.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'owncloud',
  'dbpassword' => '****',
  'logtimezone' => 'UTC',
  'installed' => true,
);

List of activated apps:

Enabled:
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - market: 0.2.5
  - notifications: 0.3.5
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - user_external

Are you using external storage, if yes which one: no, but happens also with NFS and FTP, as I tested, but I will think that is happening with all network protocols

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration
Browser: Internet explorer, firefox and chrome

Operating system: Windows 10

Logs
Web server error log

[Wed Sep 26 00:48:58.295531 2018] [mpm_prefork:notice] [pid 15473] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Wed Sep 26 00:48:58.295577 2018] [core:notice] [pid 15473] AH00094: Command line: '/usr/sbin/apache2'
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$
[Wed Sep 26 19:33:35.147763 2018] [core:notice] [pid 499] AH00094: Command line: '/usr/sbin/apache2'
[Wed Sep 26 18:18:16.525702 2018] [mpm_prefork:notice] [pid 499] AH00169: caught SIGTERM, shutting down
[Wed Sep 26 18:18:16.639325 2018] [mpm_prefork:notice] [pid 1118] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Wed Sep 26 18:18:16.639375 2018] [core:notice] [pid 1118] AH00094: Command line: '/usr/sbin/apache2'

ownCloud log (data/owncloud.log)
$
{“reqId”:“br1pOK0xotM3ImhuRIRx”,“level”:2,“time”:“2018-09-26T19:02:37+00:00”,“remoteAddr”:“118.126.101.167”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/phpAdmin/index.php",“message”:“Trusted d$
{“reqId”:“GkyhGqTgyO2DboryZFfU”,“level”:2,“time”:“2018-09-26T19:02:38+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpmyadmin0/index.php",“message”:“Truste$
{“reqId”:“EEHC47rrL1IUCGIqSlhX”,“level”:2,“time”:“2018-09-26T19:02:39+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpmyadmin1/index.php",“message”:“Truste$
{“reqId”:“JdpKQeDNjxiUm9K5S4w8”,“level”:2,“time”:“2018-09-26T19:02:39+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpmyadmin2/index.php",“message”:“Truste$
{“reqId”:“TluzoLV7X0py12tA03oF”,“level”:2,“time”:“2018-09-26T19:02:40+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/myadmin/index.php",“message”:“Trusted do$
{“reqId”:“yl9XlunCSe7M3s601jRS”,“level”:2,“time”:“2018-09-26T19:02:40+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/myadmin2/index.php",“message”:“Trusted d$
{“reqId”:“Myy6BxOHM2W6r5GKfCl3”,“level”:2,“time”:“2018-09-26T19:02:44+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpMyadmin_bak/index.php",“message”:“Tru$
{“reqId”:“JN5kJsJEAGx8nfpVjB5m”,“level”:2,“time”:“2018-09-26T19:02:45+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/www/phpMyAdmin/index.php",“message”:“Tr$
{“reqId”:“AfMf7ZNznrt6lOONXWuE”,“level”:2,“time”:“2018-09-26T19:02:46+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/tools/phpMyAdmin/index.php",“message”:"$
{“reqId”:“HfZCpGsmUxKmHHPwpObZ”,“level”:2,“time”:“2018-09-26T19:02:48+00:00”,“remoteAddr”:“118.126.101.167”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/phpmyadmin-old/index.php",“message”:“Tru$
{“reqId”:“JMUXJLVtNiU1ccNNugwr”,“level”:2,“time”:“2018-09-26T19:02:49+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpMyAdminold/index.php",“message”:“Trus$
{“reqId”:“AIqZaf7fwKV1lVoGUJen”,“level”:2,“time”:“2018-09-26T19:02:52+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/pma-old/index.php",“message”:“Trusted do$
{“reqId”:“pKg0fqL1cHbWXvm6rq3W”,“level”:2,“time”:“2018-09-26T19:02:53+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/claroline/phpMyAdmin/index.php",“messag$
{“reqId”:“mxOpazntyBiOhNETtZKD”,“level”:2,“time”:“2018-09-26T19:02:53+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/typo3/phpmyadmin/index.php",“message”:"$
{“reqId”:“eoBU2Y5n03TE6HYF0u36”,“level”:2,“time”:“2018-09-26T19:02:54+00:00”,“remoteAddr”:“118.126.101.167”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/phpma/index.php",“message”:“Trusted doma$
{“reqId”:“ZUjklUm8wevQwo5hau8u”,“level”:2,“time”:“2018-09-26T19:02:56+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpMyAdmin/phpMyAdmin/index.php",“messa$
{“reqId”:“2vNqjyLZuqlTow8yNWMA”,“level”:2,“time”:“2018-09-26T19:02:57+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/v/index.php",“message”:“Trusted domain e$
{“reqId”:“EHRFh9ny8UHzaElHJPVO”,“level”:2,“time”:“2018-09-26T19:02:57+00:00”,“remoteAddr”:“118.126.101.167”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/phpmyadm1n/index.php",“message”:“Trusted$
{“reqId”:“42rVPkpA24ZlKUEXAdwD”,“level”:2,“time”:“2018-09-26T19:49:31+00:00”,“remoteAddr”:“177.84.40.208”,“user”:”–",“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Trusted domain error. “177.84$
{“reqId”:“T8FOitqDw5NeYq3saKYo”,“level”:2,“time”:“2018-09-26T20:18:51+00:00”,“remoteAddr”:“95.180.176.226”,“user”:”–”,“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Trusted domain error. “95.18$
{“reqId”:“jcgUXssKpxgJciEN1ueh”,“level”:2,“time”:“2018-09-26T20:59:03+00:00”,“remoteAddr”:“81.163.122.1”,“user”:”–”,“app”:“core”,“method”:“GET”,“url”:"/",“message”:"Trusted domain error. "81.163.$

Browser log

Any ideas? Hope it helps

Kind regards