Use a 1MB realloc() increment instead of an 8KB one for the config
authormillert <millert@openbsd.org>
Tue, 30 Dec 2014 23:27:23 +0000 (23:27 +0000)
committermillert <millert@openbsd.org>
Tue, 30 Dec 2014 23:27:23 +0000 (23:27 +0000)
commitdbe8ea0f6b22676f96d76dab7879cf042b764f0e
tree015d8f5aa890068281df1784b236374aea92ccad
parent66f466f833a61212b68ddf482d46d817faf2fd64
Use a 1MB realloc() increment instead of an 8KB one for the config
connection buffer.  Significantly speeds up spamd-setup for lage
blacklists.  Also free the buffer when we are done with it so memory
can be returned to the system (as it can grow quite large).
OK deraadt@
libexec/spamd/spamd.c