[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Test-504.py sometimes fails on slow machines
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] Test-504.py sometimes fails on slow machines |
Date: |
Thu, 16 Feb 2017 09:33:08 +0100 |
User-agent: |
KMail/5.2.3 (Linux/4.9.0-1-amd64; KDE/5.28.0; x86_64; ; ) |
On Tuesday, February 14, 2017 4:20:26 PM CET Adam Sampson wrote:
> On Tue, Feb 14, 2017 at 04:03:13PM +0000, Adam Sampson wrote:
> > Your patch compiles, but doesn't fix the broken test. tcpdump traces
> > attached of the test succeeding and failing with the patch applied (it's
> > exactly the same behaviour as before).
>
> If it helps: here's a patch to the test server to add a delay after
> sending the headers -- this makes it always fail (on the second request)
> for me, even on a fast AMD64 machine.
Ok, refreshed my (poor) Python knowledge ;-)
Please try this patch, it works out for me even with your additional timing
(thanks for that !)
It fixes 504 handling in src/url.c and additionally adds Content-Length to
error responses that come with a body.
Regards, Tim
0001-Fix-504-status-handling.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
- [Bug-wget] Test-504.py sometimes fails on slow machines, Adam Sampson, 2017/02/14
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Tim Ruehsen, 2017/02/14
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Adam Sampson, 2017/02/14
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Tim Ruehsen, 2017/02/14
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Adam Sampson, 2017/02/14
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Tim Rühsen, 2017/02/14
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines,
Tim Ruehsen <=
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Adam Sampson, 2017/02/16
- Re: [Bug-wget] Test-504.py sometimes fails on slow machines, Tim Ruehsen, 2017/02/16