Thanks for the answers.
Does upstream works correctly with thread pool enabled?
I see some strange validation in ngx_http_upstream_init_request()
if (r->aio) {
return;
}
that flag is set when thread pool is enabled.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274486,274543#msg-274543