use individual pools instead of sub-pools for nua handles to avoid pool swell

This commit is contained in:
Anthony Minessale 2011-07-11 17:39:41 -05:00
parent 60eef72a32
commit f761241325
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
Wed Jul 6 15:11:41 CDT 2011
Mon Jul 11 17:37:21 CDT 2011

View File

@ -109,7 +109,8 @@ nua_handle_t *nh_create_handle(nua_t *nua,
assert(nua->nua_home);
if ((nh = su_home_clone(nua->nua_home, sizeof(*nh)))) {
//if ((nh = su_home_clone(nua->nua_home, sizeof(*nh)))) {
if ((nh = su_home_clone(NULL, sizeof(*nh)))) {
nh->nh_valid = nua_valid_handle_cookie;
nh->nh_nua = nua;
nh->nh_magic = hmagic;