Hello, I want to send data continuously in a long loop, and I don't want to block the worker's primary event loop with my own loop logic. How can I do it? This is my handler function: /* Handler function */ static ngx_int_t ngx_http_mymodue_handler(ngx_http_request_t *r) { ngx_int_t rc; ngx_buf_t *b; r->headers_out.content_type.len = sizeof("by JWang - How to...
![]() |
![]() |
![]() |
![]() |
|