]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
use ap_varbuf instead of allocating new strings each time we override an old one.
authorDaniel Gruno <humbedooh@apache.org>
Sat, 20 Apr 2013 11:20:22 +0000 (11:20 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sat, 20 Apr 2013 11:20:22 +0000 (11:20 +0000)
commit044b3d7eec416e838402adc668c6856caa610871
tree2aa3735741c1e3bcf5aecf90cdfd473b73508300
parentaa67c8ccbd542a0bcce997f206a720731aa9533b
use ap_varbuf instead of allocating new strings each time we override an old one.
This uses leaks less memory, but it's still not perfect (but it's a start - maybe I need to use a mutex for this, to override the original object without running into race conditions)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470155 13f79535-47bb-0310-9956-ffa450edef68
modules/lua/lua_request.c
modules/lua/lua_request.h