kingluo commented on issue #7445: URL: https://github.com/apache/apisix/issues/7445#issuecomment-1188565152
@huntkalio @spacewander Yes, `upstream_response_time` from lua-var-nginx-module is incorrect. Because it checks the upstream response status first (the initial value is 0), it would get the response time only when the status is not 0. But in 499 case, the status is 0 because 499 is internal status code but not from upstream. However, the nginx way is to get the response time ignoreless of the status code. The solution should be to align with the nginx way. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
