chobits / ngx_http_proxy_connect_module

A forward proxy module for CONNECT request handling
BSD 2-Clause "Simplified" License
1.84k stars 498 forks source link

Can i get upstream first byte time? #226

Closed cristianleez closed 2 years ago

cristianleez commented 2 years ago

Just like the stream module, embedded variable $upstream_first_byte_time? image

If not, can this feature be supported?

chobits commented 2 years ago

Currenty this variable not work for proxy_connect module.

If not, can this feature be supported?

Yeah, we can add new variable $proxy_connect_first_byte_time similar to stream module.

chobits commented 2 years ago

See this pr: https://github.com/chobits/ngx_http_proxy_connect_module/pull/228

cristianleez commented 2 years ago

Ok,thank you.

chobits commented 2 years ago

pr has been merged into master.

$proxy_connect_first_byte_time doc: https://github.com/chobits/ngx_http_proxy_connect_module#proxy_connect_first_byte_time

chobits commented 2 years ago

new version has been released with this issue resolved

cristianleez commented 2 years ago

这是来自QQ邮箱的自动回复邮件,邮件已收到。                                                      李震