2033. [bug] We wern't creating multiple client memory contexts

on demand as expected. [RT #16095]
This commit is contained in:
Mark Andrews
2006-05-29 01:27:58 +00:00
parent 9a1e8f1baf
commit b5205d860b
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2033. [bug] We wern't creating multiple client memory contexts
on demand as expected. [RT #16095]
2032. [bug] Remove a INSIST in query_addadditional2(). [RT #16074]
2031. [bug] Emit a error message when "rndc refresh" is called on

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.235 2006/01/05 00:01:46 marka Exp $ */
/* $Id: client.c,v 1.236 2006/05/29 01:27:58 marka Exp $ */
#include <config.h>
@@ -1782,14 +1782,14 @@ client_timeout(isc_task_t *task, isc_event_t *event) {
static isc_result_t
get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) {
isc_mem_t *clientmctx;
#if NMCTX > 0
#if NMCTXS > 0
isc_result_t result;
#endif
/*
* Caller must be holding the manager lock.
*/
#if NMCTX > 0
#if NMCTXS > 0
INSIST(manager->nextmctx < NMCTXS);
clientmctx = manager->mctxpool[manager->nextmctx];
if (clientmctx == NULL) {