diff --git a/lib/isc/httpd.c b/lib/isc/httpd.c index 2bd82da721..1bb5ec7dac 100644 --- a/lib/isc/httpd.c +++ b/lib/isc/httpd.c @@ -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);