Welcome! Log In Create A New Profile

Advanced

wrong data in $upstream_status and $upstream_response_time

September 10, 2014 10:30AM
Hey Guys,

We have been using the latest stable Nginx version 1.6.1, and I've could notice that we might be facing a bug that was supposed to be fixed in version 1.5.11.

Bugfix: the $upstream_status variable might contain wrong data if the "proxy_cache_use_stale" or "proxy_cache_revalidate" directives were used.

On MISS requests the variables "$upstream_status" and "$upstream_response_time" are eventually returning wrong data, like the example bellow:

$upstream_status - “504, 504, 200" or even “-, 200"

$upstream_response_time - “8.005, 0.242"

As you can see, the data contain two or three values separated by a comma, and also the $upstream_response_time contain two time values, both separated by comma.

Is that make sense to you guys ? Is it expected ?

Thanks in advance,
Daniel Biazus
Subject Author Posted

wrong data in $upstream_status and $upstream_response_time

biazus September 10, 2014 10:30AM

Re: wrong data in $upstream_status and $upstream_response_time

Maxim Dounin September 10, 2014 01:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready