Welcome! Log In Create A New Profile

Advanced

Bug with fastcgi_cache_bypass

Matthieu Tourne
August 12, 2010 03:18PM
Hi,

I kept seeing "upstream sent unsupported FastCGI protocol version" in
my error logs, and they went away when I turned fastcgi_cache off.
It turned out that the files holding the cache were corrupted,
starting at random places instead of the FastCGI headers.

After trying to tweak things every possible way, I finally found out
that the errors seemed to go away if I didn't use
fastcgi_cache_bypass.
And later on, I realized that when using fastcgi_no_cache with the
same variable as for fastcgi_cache_bypass, I don't get any of those
errors, and it works as intended.

I saw in the source that a warning was added recommending to use
fastcgi_cache_bypass when fastcgi_no_cache is used, but not the other
way around.
Should they always be used together, or is this a bug ?

Thank you,

Matthieu.

--
Matthieu Tourne

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Bug with fastcgi_cache_bypass

Matthieu Tourne August 12, 2010 03:18PM

Re: Bug with fastcgi_cache_bypass

Maxim Dounin August 12, 2010 04:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 116
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready