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.
This commit is contained in:
@@ -652,7 +652,7 @@ new_httpd(isc_httpdmgr_t *httpdmgr, isc_nmhandle_t *handle) {
|
||||
isc_buffer_initnull(&httpd->compbuffer);
|
||||
isc_buffer_clear(&httpd->compbuffer);
|
||||
|
||||
isc_buffer_invalidate(&httpd->bodybuffer);
|
||||
isc_buffer_initnull(&httpd->bodybuffer);
|
||||
|
||||
ISC_LINK_INIT(httpd, link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user