2033. [bug] We wern't creating multiple client memory contexts
on demand as expected. [RT #16095]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user