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

Bug#965116: marked as done (buster-pu: speedtest-cli 2.0.2-1+deb10u1)



Your message dated Sat, 01 Aug 2020 12:51:28 +0100
with message-id <43535efb498a168cf81452ca0c326f004f46adc6.camel@adam-barratt.org.uk>
and subject line Closing bugs for fixes included in 10.5 point release
has caused the Debian Bug report #965116,
regarding buster-pu: speedtest-cli 2.0.2-1+deb10u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
965116: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965116
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
package: release.debian.org
thanks

Dear release team, below is a debdiff to fix bug #940165 for
speedtest-cli in buster:

"""
diff -Nru speedtest-cli-2.0.2/debian/changelog
speedtest-cli-2.0.2/debian/changelog
--- speedtest-cli-2.0.2/debian/changelog	2018-06-15 13:52:44.000000000 +0200
+++ speedtest-cli-2.0.2/debian/changelog	2020-07-14 23:52:02.000000000 +0200
@@ -1,3 +1,9 @@
+speedtest-cli (2.0.2-1+deb10u1) buster; urgency=medium
+
+  * Pass correct headers to fix upload speed test (Closes: #940165)
+
+ -- Jonathan Carter <jcc@debian.org>  Tue, 14 Jul 2020 23:52:02 +0200
+
 speedtest-cli (2.0.2-1) unstable; urgency=medium

   [ Ondřej Nový ]
diff -Nru speedtest-cli-2.0.2/debian/patches/fix-upload-speed
speedtest-cli-2.0.2/debian/patches/fix-upload-speed
--- speedtest-cli-2.0.2/debian/patches/fix-upload-speed	1970-01-01
02:00:00.000000000 +0200
+++ speedtest-cli-2.0.2/debian/patches/fix-upload-speed	2020-07-14
23:52:02.000000000 +0200
@@ -0,0 +1,21 @@
+Description: Fix upload speed
+ Pass correct headers to fix upload speed test (Closes: #940165)
+Author: Jonathan Carter <jcc@debian.org>
+Bug-Debian: https://bugs.debian.org/940165
+
+--- speedtest-cli-2.0.2.orig/speedtest.py
++++ speedtest-cli-2.0.2/speedtest.py
+@@ -1525,9 +1525,12 @@ class Speedtest(object):
+             )
+             if pre_allocate:
+                 data.pre_allocate()
++
++            headers = {'Content-length': size}
+             requests.append(
+                 (
+-                    build_request(self.best['url'], data,
secure=self._secure),
++                    build_request(self.best['url'], data,
secure=self._secure,
++                                  headers=headers),
+                     size
+                 )
+             )
diff -Nru speedtest-cli-2.0.2/debian/patches/series
speedtest-cli-2.0.2/debian/patches/series
--- speedtest-cli-2.0.2/debian/patches/series	1970-01-01
02:00:00.000000000 +0200
+++ speedtest-cli-2.0.2/debian/patches/series	2020-07-14
23:52:02.000000000 +0200
@@ -0,0 +1 @@
+fix-upload-speed
"""

This is currently in p-u-new.

thanks,

-Jonathan

-- 
  ⢀⣴⠾⠻⢶⣦⠀  Jonathan Carter (highvoltage) <jcc>
  ⣾⠁⢠⠒⠀⣿⡁  https://wiki.debian.org/highvoltage
  ⢿⡄⠘⠷⠚⠋   https://debian.org | https://jonathancarter.org
  ⠈⠳⣄⠀⠀⠀⠀  Debian, the universal operating system.

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 10.5

Hi,

Each of these bugs relates to an update that was included in today's
stable point release.

Regards,

Adam

--- End Message ---

Reply to: