Nmap Development mailing list archives

Re: [PATCH] Re: 4.03 "write buffer not large enough" and "-q (quiet)"


From: Fyodor <fyodor () insecure org>
Date: Sat, 27 May 2006 02:27:01 -0700

On Sat, May 20, 2006 at 09:40:22PM +0000, Brandon Enright wrote:


Based solely on the the description of this change, the write buffer was
not increased even for cases when -d3 or higher is being used.  Since
-d3 essentially reverts to the old output format the write buffer length
could be to small in some cases.

The attached patch increases the write buffer length from 64k to 512k
when verbosity or debugging levels are 3 or greater.  This seems like an
appropriate compromise.  It won't increase normal memory usage but will
accommodate extremely verbose outputs when needed.

Thanks, that is a good idea.  I have applied it for the next version
(which I hope to find time to release this weekend).

Cheers,
-F


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: