Re: bug of discarding request body

2015-11-23 Thread Shuxin Yang
Hi, Maxim: Thank you so much for your insightful comment! Unbuffered-uploading not just to make things easier to reproduce the problem. It is trivial. So to speak. It is translating to say it is rather dangerous to use the unbuffered-uploading along with keepalive connections, as th

Re: bug of discarding request body

2015-11-23 Thread Maxim Dounin
Hello! On Mon, Nov 23, 2015 at 09:26:46AM -0800, Shuxin Yang wrote: > Hi, Maxim: > > Thank you very much for the comment, and sorry for my long previous > email. > > I guess you might misunderstand my previous email. Basically what I try > to say > is that the *OLD* bug (ticket/669 as y

Re: bug of discarding request body

2015-11-23 Thread Shuxin Yang
Hi, Maxim: Thank you very much for the comment, and sorry for my long previous email. I guess you might misunderstand my previous email. Basically what I try to say is that the *OLD* bug (ticket/669 as you mentioned) is seen on the *PRISTINE* *NEW* 1.9.7 release. The attached script

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