[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284115: apache-common: mod_bandwidth breaks resumes/multiple downloads



retitle 284115 mod_bandwidth breaks resumes/concurrent downloads
thanks

Way to reproduce bug:

1. Set up mod_bandwidth, for example i have following config:

<IfModule mod_bandwidth.c>
        BandWidthModule On
        <Directory />
                BandWidth xxx.xxx.xx 0
                BandWidth xxx.xxx.yy 0
                BandWidth all 502400
        </Directory>
</IfModule>

2. Download part of the file, using 1 connection. Then stop the download. 
Then resume and finish downloading. 
The file will be different the the oryginal file.

3. Download the file using more then 1 connection (e.g. using "pget -n 2" 
in lftp). The file will be different then the oryginal file. 

The problem doesn't occure with new mod_bandwidth (v. 2.0.6).

Fix: e.g. use attached file instead of 504_mod_bandwidth_paths
(it changes MASTER_DIR and LINK_DIR so you may want to change to retain 
backward compability)


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29-ow1
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)




Reply to: