[Bug-wget] Two fixes: Memory leak with chunked responses / Chunked responses and WARC files

2012-01-27 Thread Gijs van Tulder
Hi, Here are two small patches. I hope they will be useful. First, a patch that fixes a memory leak in fd_read_body (src/retr.c) and skip_short_body (src/http.c) when it retrieves a response with Transfer-Encoding: chunked. Both functions make calls to fd_read_line but never free the result.

[Bug-wget] Fwd: [PATCH] [wget-bug #33210], Add an option to output bandwidth in bits

2012-01-27 Thread Sasikanth
Modified the calc_rate function to calculate bandwidth in powers of ten (SI-prefix format) for --bits option. Please review the changes Thanks Sasi -- Forwarded message -- From: Sasikanth sasikanth@gmail.com Date: Wed, Jan 18, 2012 at 5:43 PM Subject: Re: [Bug-wget]