Upstream module usage to process data
mdounin at mdounin.ru
Wed May 31 13:21:24 UTC 2017
On Wed, May 31, 2017 at 09:00:42AM -0400, isolomka wrote:
> So I have my own module which is working with thread pool enabled.
> ngx_http_upstream_init is called from my thread_event_handler, flag r->aio
> is enabled.
> In fact, upstream is not initialized at all.
> When i set aio flag to false and call to ngx_http_upstream_init, i'm getting
> a core dump in ngx_epoll_process_events.
You certainly should not try to call upstream before your module's
thread operation is complete.
More information about the nginx