From 817758272a76a16bb085ab04e3b520bffa1cf21b Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Tue, 3 Sep 2013 15:56:07 +0100 Subject: [PATCH] remove occurences of write circular buffer --- include/http/worker.h | 1 - include/http/writer.h | 1 - src/http/worker.c | 1 - 3 files changed, 3 deletions(-) diff --git a/include/http/worker.h b/include/http/worker.h index e608c4a..f131260 100644 --- a/include/http/worker.h +++ b/include/http/worker.h @@ -47,7 +47,6 @@ CLASS(HttpWorker) { struct randval * val; Cbuf pbuf; - Cbuf wbuf; Hash asset_pool; diff --git a/include/http/writer.h b/include/http/writer.h index 4066dbc..36e34ad 100644 --- a/include/http/writer.h +++ b/include/http/writer.h @@ -57,7 +57,6 @@ * And as I will also implement a cbuf pool, this memory will not be * freed before application end. */ -#define WRITER_MAX_BUF 131072 /* * This is the multiplier for the size of the initial write buffer. diff --git a/src/http/worker.c b/src/http/worker.c index d5845be..71182e5 100644 --- a/src/http/worker.c +++ b/src/http/worker.c @@ -88,7 +88,6 @@ httpWorkerDtor(void * _this) if (NULL != this->pbuf) { delete(this->asset_pool); delete(this->pbuf); //!< cloned workers have NULL, so delete won't do anything - delete(this->wbuf); //!< cloned workers have NULL, so delete won't do anything tdestroy(*(this->sroot), tDelete); } }