Re: Flushing responses in nginx modules

2017-07-11 Thread Johan Andersson
d to put your write event to a timer, set the proper handler when the timer expires. BTW, you should always check the return value of ngx_http_send_header and ngx_http_output_filter. On 10 July 2017 at 01:43:46, Johan Andersson (n...@firemail.cc) wrote: Hi everyone, I have some issues writing my ngin

Flushing responses in nginx modules

2017-07-09 Thread Johan Andersson
Hi everyone, I have some issues writing my nginx modules. I am on Debian Stretch, installed nginx with the default configuration, and took the hello_world module. It works without a hitch. Then I changed the handler to send three "hello world" responses, and sleep for one second between each