(update) bug: HttpProxyModule doesn't report errors using proxy_temp

jb justinbeech at gmail.com
Sat Oct 16 03:20:29 MSD 2010


Sorry I wrote too soon, there were errors in the log.

Still, I believe nginx -t should test for valid (usable) directories
before starting to avoid running badly.

---------- Forwarded message ----------
From: jb <justinbeech at gmail.com>
Date: Sat, Oct 16, 2010 at 10:15 AM
Subject: bug: HttpProxyModule doesn't report errors using proxy_temp
To: nginx at nginx.org


If HttpProxyModule can't write to the directories inside proxy_temp
(eg they are owned by root not server uid) then requests for URLs of
large size fail after 102400 bytes, they hang in the client, then
timeout and no errors are printed.
In fact access_log shows code 200 for each request which was quite
puzzling to debug.
maybe nginx -t should alert if one of the _temp directories has
unwritable files or directories in it?
thanks.




More information about the nginx mailing list