Writing a timer event (how to execute an event from time to time)

Rogério Schneider stockrt at gmail.com
Tue May 25 15:35:15 MSD 2010

> Each request may clean its pool when finalizing the request. And the timer
> uses the pool attached with that request. This caused the segfaults.

In fact the segfault occurs before the request/response end. Since I
am responding with http chunked, and buf->last_buf = 0, the client
stills connected and "downloading the stream" for an infinite time.

I think the segfault is got somewhere else, not in the request
finalize/clean, since it did not get there ever.

Rogério Schneider

More information about the nginx-devel mailing list