Re: wget-1.11.4 bug

2008-07-25 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kuang-cheng chao wrote: Dear Micah: Thanks for your work of wget. There is a question about two wgets run simultaneously. In method resolve_bind_address, wget assumes that this is called once. However, this will cause two domain name with

RE: wget-1.11.4 bug

2008-07-25 Thread kuang-cheng chao
Micah Cowan wrote: Have you reproduced this, or is this in theory? If the latter, what has led you to this conclusion? I don't see anything in the code that would cause this behavior. I reproduce this. But I can't make sure the really problem is in resolve_bind_address. In the attached

Patch to allow filtering on content-type header

2008-07-25 Thread Lars Kotthoff
Hi list, I've written a patch which allows filtering on the content-type header to select what is downloaded. E.g. wget -r --content-type=text/* http://www.foobar.com will only download things with a content-type header of text/html, text/plain etc. There's also a content-type-exclude option to

Re: wget-1.11.4 bug

2008-07-25 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 k.c. chao wrote: Micah Cowan wrote: Have you reproduced this, or is this in theory? If the latter, what has led you to this conclusion? I don't see anything in the code that would cause this behavior. I reproduce this. But I can't make sure

Re: Patch to allow filtering on content-type header

2008-07-25 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars Kotthoff wrote: Hi list, I've written a patch which allows filtering on the content-type header to select what is downloaded. E.g. wget -r --content-type=text/* http://www.foobar.com will only download things with a content-type header of