Re: [Bug-wget] --http2=off causes Segmentation fault but ./configure --without-libnghttp2 does not

2018-04-09 Thread Tim Rühsen
On 04/09/2018 01:18 PM, Jeffrey Fetterman wrote:
> God damnit, I just got it to happen with ./configure --without-libnghttp2
> 
> Now I'm not sure what is triggering it.

If you can trigger it in a Linux VM:
Install valgrind, build the code with -g and use wget2_noinstall instead
of wget2.

e.g.
valgrind src/wget2_noinstall ...

It should spill out a backtrace with line numbers. Post that here.

> 
> On Mon, Apr 9, 2018 at 6:04 AM, Jeffrey Fetterman 
> wrote:
> 
>> So I wanted to see how scraping a large site compared with multiplexing
>> off. I used the -http2=off parameter, but I got a segfault.
>>
>> So I decided I'd configure wget2 without the http2 library and just try
>> the same command again (without -http2=off since it wasn't compiled with it
>> anyway) and it worked just fine.
>>
>> (Also.. it does seem like wget2 is faster without http2, for the site full
>> of large pdfs I'm scraping anyway.)
>>
> 



signature.asc
Description: OpenPGP digital signature


Re: [Bug-wget] --http2=off causes Segmentation fault but ./configure --without-libnghttp2 does not

2018-04-09 Thread Jeffrey Fetterman
I'm going to do some more testing first. I'm not sure what changed.


On Mon, Apr 9, 2018 at 6:18 AM, Tim Rühsen  wrote:

> On 04/09/2018 01:04 PM, Jeffrey Fetterman wrote:
> > So I wanted to see how scraping a large site compared with multiplexing
> > off. I used the -http2=off parameter, but I got a segfault.
>
> Not reproducible here. Could you give me the whole command line ?
>
> > So I decided I'd configure wget2 without the http2 library and just try
> the
> > same command again (without -http2=off since it wasn't compiled with it
> > anyway) and it worked just fine.
> >
> > (Also.. it does seem like wget2 is faster without http2, for the site
> full
> > of large pdfs I'm scraping anyway.)
>
> I also had the impression that http/2 at least sometimes is slower, but
> didn't make exact measurements. There are much pitfalls on the server
> side that an admin has to deal with.
> If you know a good site / command line for benchmarking, please let me
> know.
>
> Regards, Tim
>
>


Re: [Bug-wget] --http2=off causes Segmentation fault but ./configure --without-libnghttp2 does not

2018-04-09 Thread Tim Rühsen
On 04/09/2018 01:04 PM, Jeffrey Fetterman wrote:
> So I wanted to see how scraping a large site compared with multiplexing
> off. I used the -http2=off parameter, but I got a segfault.

Not reproducible here. Could you give me the whole command line ?

> So I decided I'd configure wget2 without the http2 library and just try the
> same command again (without -http2=off since it wasn't compiled with it
> anyway) and it worked just fine.
> 
> (Also.. it does seem like wget2 is faster without http2, for the site full
> of large pdfs I'm scraping anyway.)

I also had the impression that http/2 at least sometimes is slower, but
didn't make exact measurements. There are much pitfalls on the server
side that an admin has to deal with.
If you know a good site / command line for benchmarking, please let me know.

Regards, Tim



signature.asc
Description: OpenPGP digital signature


Re: [Bug-wget] --http2=off causes Segmentation fault but ./configure --without-libnghttp2 does not

2018-04-09 Thread Jeffrey Fetterman
God damnit, I just got it to happen with ./configure --without-libnghttp2

Now I'm not sure what is triggering it.

On Mon, Apr 9, 2018 at 6:04 AM, Jeffrey Fetterman 
wrote:

> So I wanted to see how scraping a large site compared with multiplexing
> off. I used the -http2=off parameter, but I got a segfault.
>
> So I decided I'd configure wget2 without the http2 library and just try
> the same command again (without -http2=off since it wasn't compiled with it
> anyway) and it worked just fine.
>
> (Also.. it does seem like wget2 is faster without http2, for the site full
> of large pdfs I'm scraping anyway.)
>


[Bug-wget] --http2=off causes Segmentation fault but ./configure --without-libnghttp2 does not

2018-04-09 Thread Jeffrey Fetterman
So I wanted to see how scraping a large site compared with multiplexing
off. I used the -http2=off parameter, but I got a segfault.

So I decided I'd configure wget2 without the http2 library and just try the
same command again (without -http2=off since it wasn't compiled with it
anyway) and it worked just fine.

(Also.. it does seem like wget2 is faster without http2, for the site full
of large pdfs I'm scraping anyway.)