Re: memory consumption proxying a comet server

> Hi,
> when proxying a comet server the http write filter module keeps
> allocating few bytes for each chunk of data coming from the comet
> server. These data are freed only when the request terminates, that is
> possibly never.

It's not write filter which allocates memory, and it's not it's
business to free it.

> There is also a forum thread (http://forum.nginx.org/read.php?2,73923)
> that describes the problem very well.
>
> Below I report a workaround that seems working for my application.
> Basically, I guess if I can free the allocated memory and free it, by
> rewinding the position in the pool.

It's nice it works for you, but obviously it's not something that
may be committed.