]> source.dussan.org Git - rspamd.git/commit
* Small updates to memory pool library
authorcebka@mailsupport.rambler.ru <cebka@mailsupport.rambler.ru>
Tue, 23 Sep 2008 07:47:56 +0000 (11:47 +0400)
committercebka@mailsupport.rambler.ru <cebka@mailsupport.rambler.ru>
Tue, 23 Sep 2008 07:47:56 +0000 (11:47 +0400)
commit193acf73e51b24ccca8048ebb6aaec2971594268
treea094617b2bb6c5d867584830f2ac4c6fa5f7b8fa
parent2b65ae425b9dca345bea158471b358d3c17b9704
* Small updates to memory pool library
 - fix cases when new chunk is allocated
 - add memory pool allocator statistics
 - let it work in multi-threaded environment
 - add strdup function for convinience
* Use memory pool allocator more widely to avoid memory leaks in future and optimize performance
* Task pool chunk size is now pre-defined constant (16 Kb currently)
12 files changed:
fstring.c
fstring.h
mem_pool.c
mem_pool.h
plugins/surbl.c
protocol.c
test/rspamd_mem_pool_test.c
test/rspamd_url_test.c
url.c
url.h
utils/Makefile.in
worker.c