Lines Matching refs:headerbuffer
126 isc_buffer_t headerbuffer;
577 isc_buffer_init(&httpd->headerbuffer, httpd->headerdata,
750 ISC_LIST_APPEND(httpd->bufflist, &httpd->headerbuffer, link);
810 isc_buffer_region(&httpd->headerbuffer, &r);
811 isc_buffer_reinit(&httpd->headerbuffer, newspace, newlen);
828 while (isc_buffer_availablelength(&httpd->headerbuffer) < needlen) {
834 sprintf(isc_buffer_used(&httpd->headerbuffer), "%s %03d %s\r\n",
836 isc_buffer_add(&httpd->headerbuffer, needlen);
853 while (isc_buffer_availablelength(&httpd->headerbuffer) < needlen) {
860 sprintf(isc_buffer_used(&httpd->headerbuffer),
863 sprintf(isc_buffer_used(&httpd->headerbuffer),
866 isc_buffer_add(&httpd->headerbuffer, needlen);
876 while (isc_buffer_availablelength(&httpd->headerbuffer) < 2) {
882 sprintf(isc_buffer_used(&httpd->headerbuffer), "\r\n");
883 isc_buffer_add(&httpd->headerbuffer, 2);
900 while (isc_buffer_availablelength(&httpd->headerbuffer) < needlen) {
906 sprintf(isc_buffer_used(&httpd->headerbuffer),
909 isc_buffer_add(&httpd->headerbuffer, needlen);
930 ISC_LIST_UNLINK(sev->bufferlist, &httpd->headerbuffer, link);
986 INSIST(!ISC_LINK_LINKED(&httpd->headerbuffer, link));
997 isc_buffer_clear(&httpd->headerbuffer);