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); } }