bug-wget
[Top][All Lists]
Advanced

[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

Attachment: 0001-Fix-504-status-handling.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]