[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [Bug-Wget] Wget closes connection despite Keep-Alive
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] [Bug-Wget] Wget closes connection despite Keep-Alive |
Date: |
Wed, 05 Nov 2014 10:47:55 +0100 |
User-agent: |
KMail/4.14.2 (Linux/3.16-3-amd64; KDE/4.14.2; x86_64; ; ) |
On Wednesday 05 November 2014 13:49:56 Darshit Shah wrote:
> * Off-topic:
> Looking at the condition, there's one comparison that we can avoid:
> hs->restval > 0
> contlen >= 0
> hs->restval >= contlen
>
> In this case, hs->restval > 0 is redundant and un-needed.
ACK.
> I'm waiting for Giuseppe's views on this. Else, I'll split the condition
> into two parts, with the first one called CLOSE_FINISH instead of
> CLOSE_INVALIDATE
Splitting sounds reasonable to me.
Tim
signature.asc
Description: This is a digitally signed message part.