Browse Source

remove occurences of write circular buffer

release0.1.5
Georg Hopp 12 years ago
parent
commit
817758272a
  1. 1
      include/http/worker.h
  2. 1
      include/http/writer.h
  3. 1
      src/http/worker.c

1
include/http/worker.h

@ -47,7 +47,6 @@ CLASS(HttpWorker) {
struct randval * val; struct randval * val;
Cbuf pbuf; Cbuf pbuf;
Cbuf wbuf;
Hash asset_pool; Hash asset_pool;

1
include/http/writer.h

@ -57,7 +57,6 @@
* And as I will also implement a cbuf pool, this memory will not be * And as I will also implement a cbuf pool, this memory will not be
* freed before application end. * freed before application end.
*/ */
#define WRITER_MAX_BUF 131072
/* /*
* This is the multiplier for the size of the initial write buffer. * This is the multiplier for the size of the initial write buffer.

1
src/http/worker.c

@ -88,7 +88,6 @@ httpWorkerDtor(void * _this)
if (NULL != this->pbuf) { if (NULL != this->pbuf) {
delete(this->asset_pool); delete(this->asset_pool);
delete(this->pbuf); //!< cloned workers have NULL, so delete won't do anything 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); tdestroy(*(this->sroot), tDelete);
} }
} }

Loading…
Cancel
Save