Re: bug of discarding request body

2015-11-22 Thread Maxim Dounin
Hello! On Sun, Nov 22, 2015 at 04:21:36PM -0800, Shuxin Yang wrote: > I run into a bug which I believe it is about > ngx_http_discard_request_body() > (discard_body() for short). This bug is reproducible using the 1.9.7 > release. > > The discard_body() discards request body by reading it.

bug of discarding request body

2015-11-22 Thread Shuxin Yang
Hi, There: I run into a bug which I believe it is about ngx_http_discard_request_body() (discard_body() for short). This bug is reproducible using the 1.9.7 release. The discard_body() discards request body by reading it. However, the if the body is not ready yet (i.e. ngx_http_read_di

Re: 403 forbidden with lynx www browser

2015-11-22 Thread Sylvain BERTRAND
On Sun, Nov 22, 2015 at 05:25:11PM +, Francis Daly wrote: > On Sun, Nov 22, 2015 at 03:05:25PM +1100, Sylvain BERTRAND wrote: > > On many nginx powered web sites, I must not send the user agent or I'll get > > a > > 403 forbidden. > > The administrators of those web sites do not want you as a

Re: 403 forbidden with lynx www browser

2015-11-22 Thread Francis Daly
On Sun, Nov 22, 2015 at 03:05:25PM +1100, Sylvain BERTRAND wrote: Hi there, > On many nginx powered web sites, I must not send the user agent or I'll get a > 403 forbidden. The administrators of those web sites do not want you as a customer. Probably they have configured their servers to deny a

fastcgi cache on dynamic pages

2015-11-22 Thread Dewangga
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello! I'm struggling with fastcgi_cache, the cache will be valid and got 'HIT' status if I'm writing simple PHP code. Like `phpinfo` or printing `date`. My fastcgi parameter are looks like this http://fpaste.org/293267/19588614/raw/ I send the requ