Maxim Dounin Wrote:
---
> Hello!
>
> On Wed, Jan 22, 2020 at 10:38:42AM -0500, xt3627216 wrote:
>
> [...]
>
> > if stream->queued is true, then ngx_http_free_request will not
> be called
> > immediately, which will result $request_time larg
Hello!
On Wed, Jan 22, 2020 at 10:38:42AM -0500, xt3627216 wrote:
[...]
> if stream->queued is true, then ngx_http_free_request will not be called
> immediately, which will result $request_time larger then real request time?
If stream->queued is true, this means that there are unsent frames
2020/01/22 16:24:38 [error] 15197#15197: *17 connect() failed (111:
Connection refused) while connecting to upstream, client: 202.133.89.135,
server: coinscheckout.com, request: "GET / HTTP/1.1", upstream:
"http://127.0.0.1:3000/";, host: "coinscheckout.com"
Why i am getting this error in react j
> nginx version: nginx-1.9.5
Have you tried updating to a newer version of nginx? The 1.9 branch is
probably 5 years old...
It looks like the code you mention has changed somewhat, though I
don't know if it has any effect on $request_time.
https://github.com/nginx/nginx/blob/60f648f035fa05667b9c
In our production env, I found that $request_time is very large under
http2 protocol.
by the way, some requests, not every one.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,286797,286798#msg-286798
___
nginx mailing list
nginx@ng
nginx version: nginx-1.9.5
hi,nginx compute $request_time in log phase, which is in
ngx_http_free_request (r) -> ngx_http_log_request(r) -> log_handler(r)
but in http2 world, I see every request closed through
ngx_http_v2_close_stream(stream, rc)
in ngx_http_v2_close_streamhave c