Re: [Bug-wget] persistence with multiple hostnames

2012-04-17 Thread Ángel González
On 17/04/12 18:16, Ryan Rawdon wrote: > I was speaking with Micah on IRC today regarding a behavior in wget which is > different than curl and most or all browsers. > > Generally HTTP clients do not use a given persistent connection for more than > one hostname, which is why tricks work like spre

Re: [Bug-wget] persistence with multiple hostnames

2012-04-17 Thread Ryan Rawdon
On Apr 17, 2012, at 2:16 PM, Micah Cowan wrote: > On 04/17/2012 09:16 AM, Ryan Rawdon wrote: >> Micah took a quick look over the source (or was previously familiar with >> it), and it sounds like there may be checks in place which should have >> prevented this, however I did look to confirm. >

Re: [Bug-wget] persistence with multiple hostnames

2012-04-17 Thread Micah Cowan
On 04/17/2012 09:16 AM, Ryan Rawdon wrote: > Micah took a quick look over the source (or was previously familiar with it), > and it sounds like there may be checks in place which should have prevented > this, however I did look to confirm. I misread; it first checks if the hostname matches, and

Re: [Bug-wget] persistence with multiple hostnames

2012-04-17 Thread Tony Lewis
It seems to me that wget should not reuse a connection from one host to access another (even if those hosts share an IP address). I suspect the current behavior is accidental rather than intentional. Tony -Original Message- From: bug-wget-bounces+wget=exelana@gnu.org [mailto:bug-wget-b

[Bug-wget] persistence with multiple hostnames

2012-04-17 Thread Ryan Rawdon
I was speaking with Micah on IRC today regarding a behavior in wget which is different than curl and most or all browsers. Generally HTTP clients do not use a given persistent connection for more than one hostname, which is why tricks work like spreading static content across multiple name-base

[Bug-wget] [PATCH] fix warnings in test code

2012-04-17 Thread Tim Ruehsen
* moved test function prototypes from test.c to test.h * fixed prototypes of test code functions * fixed discarding 'const ' qualifiers in test code In options.h I had to change types for option.includes and option.excludes from 'char **' to 'const char **' to resolve the above issues. Well, I t

[Bug-wget] bugfix #21318: "summary message for failed downloads"

2012-04-17 Thread Reto Hablützel
Hello I would like to fix bug #21318 . I suggest to do it the following way when a download fails and two are successful (like in the reproducer sample in the bug report): Downloaded: 2 files, 15K in 0,07s (199 KB/s) Failed: 1 file O