Closed mrgonza78 closed 3 years ago
@henriquechehad
If I'm not mistaken ngx.req.start_time()
is not available either in the "stream" module (https://github.com/openresty/stream-lua-nginx-module).
Making max_connection_timeout useless when using this client in the "stream" block (vs the "http" block)
Thanks @steve0511 for merging it. Any chance we can generate a new version of this rock 1.05 including this change? Thanks
Thanks for the fix 👑
ngx.req.start_time
is not available when using this client in the worker/timer context.In this case
ngx.req.start_time()
always returns 0 andmax_connection_timeout
always triggers a timeout without even attempting a connection