-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy_response cant forward the app heartbeat packet to client #28
Comments
Hi. Well |
yes,i had to invoked |
It might be best to ask on the OpenResty mailing list, since others may have more experience with this than me. But my understanding is that ngx.print(chunk)
ngx.flush(true) Beyond this, it is up to Nginx to get those bytes out on the wire, and I'm not sure if there's any more control available for this. https://github.com/openresty/lua-nginx-module#ngxflush |
ok, thanks for your patiently replay. |
hi,
I find
proxy_response
cant send the app heartbeat packet(only 6 bytes) to client immediately because usingngx.print
. so i have to invokengx.flush
after print. may i have your some good advice?see http://wiki.nginx.org/HttpLuaModule#ngx.flush
The text was updated successfully, but these errors were encountered: