Commit 47096d27 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

indicating that the buffers sent to subscribers have to be flushed

parent 1674a89e
...@@ -413,6 +413,7 @@ ngx_http_push_stream_respond_to_subscribers(ngx_http_push_stream_channel_t *chan ...@@ -413,6 +413,7 @@ ngx_http_push_stream_respond_to_subscribers(ngx_http_push_stream_channel_t *chan
r = cur->request; r = cur->request;
r->discard_body = 0; // hacky hacky! r->discard_body = 0; // hacky hacky!
chain->buf->flush = 1;
ngx_http_output_filter(r, chain); ngx_http_output_filter(r, chain);
ngx_http_send_special(r, NGX_HTTP_FLUSH); ngx_http_send_special(r, NGX_HTTP_FLUSH);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment