use individual pools instead of sub-pools for nua handles to avoid pool swell
This commit is contained in:
parent
60eef72a32
commit
f761241325
|
@ -1 +1 @@
|
||||||
Wed Jul 6 15:11:41 CDT 2011
|
Mon Jul 11 17:37:21 CDT 2011
|
||||||
|
|
|
@ -109,7 +109,8 @@ nua_handle_t *nh_create_handle(nua_t *nua,
|
||||||
|
|
||||||
assert(nua->nua_home);
|
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_valid = nua_valid_handle_cookie;
|
||||||
nh->nh_nua = nua;
|
nh->nh_nua = nua;
|
||||||
nh->nh_magic = hmagic;
|
nh->nh_magic = hmagic;
|
||||||
|
|
Loading…
Reference in New Issue