Commit 881b6351 authored by Evan Hunt's avatar Evan Hunt

initialize, rather than invalidating, new http buffers

when building without ISC_BUFFER_USEINLINE (which is the default on
Windows) an assertion failure could occur when setting up a new
isc_httpd_t object for the statistics channel.
parent 83b50bb9
Pipeline #47647 canceled with stages
in 45 seconds
...@@ -652,7 +652,7 @@ new_httpd(isc_httpdmgr_t *httpdmgr, isc_nmhandle_t *handle) { ...@@ -652,7 +652,7 @@ new_httpd(isc_httpdmgr_t *httpdmgr, isc_nmhandle_t *handle) {
isc_buffer_initnull(&httpd->compbuffer); isc_buffer_initnull(&httpd->compbuffer);
isc_buffer_clear(&httpd->compbuffer); isc_buffer_clear(&httpd->compbuffer);
isc_buffer_invalidate(&httpd->bodybuffer); isc_buffer_initnull(&httpd->bodybuffer);
ISC_LINK_INIT(httpd, link); ISC_LINK_INIT(httpd, link);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment