[MAJOR] ported pendconn to mempools v2
A pool_destroy() was also missing in deinit()
diff --git a/src/haproxy.c b/src/haproxy.c
index 59c6149..c88bffc 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -374,9 +374,10 @@
localtime((time_t *)&now.tv_sec);
start_date = now;
- init_buffer();
init_task();
init_session();
+ init_buffer();
+ init_pendconn();
init_proto_http();
cfg_polling_mechanism = POLL_USE_SELECT; /* select() is always available */
@@ -667,6 +668,7 @@
pool_destroy2(pool2_task);
pool_destroy(pool_capture);
pool_destroy(pool_appsess);
+ pool_destroy2(pool2_pendconn);
if (have_appsession) {
pool_destroy(apools.serverid);