Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
0583bf2d
Commit
0583bf2d
authored
Oct 27, 1999
by
Michael Graff
Browse files
set names on mempools
parent
0a595c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/message.c
View file @
0583bf2d
...
...
@@ -505,6 +505,7 @@ dns_message_create(isc_mem_t *mctx, unsigned int intent, dns_message_t **msgp)
goto
cleanup
;
isc_mempool_setfreemax
(
m
->
namepool
,
NAME_COUNT
);
isc_mempool_setfillcount
(
m
->
namepool
,
NAME_COUNT
);
isc_mempool_setname
(
m
->
namepool
,
"msg:names"
);
result
=
isc_mempool_create
(
m
->
mctx
,
sizeof
(
dns_rdataset_t
),
&
m
->
rdspool
);
...
...
@@ -512,6 +513,7 @@ dns_message_create(isc_mem_t *mctx, unsigned int intent, dns_message_t **msgp)
goto
cleanup
;
isc_mempool_setfreemax
(
m
->
rdspool
,
NAME_COUNT
);
isc_mempool_setfillcount
(
m
->
rdspool
,
NAME_COUNT
);
isc_mempool_setname
(
m
->
rdspool
,
"msg:rdataset"
);
dynbuf
=
NULL
;
result
=
isc_buffer_allocate
(
mctx
,
&
dynbuf
,
SCRATCHPAD_SIZE
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment