Re: http module handler, chain buffer and output_filter

2015-01-01 Thread xdiaod
Finally, i have to change all as i need a multithreaded environment XD Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255866,255928#msg-255928 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: http module handler, chain buffer and output_filter

2015-01-01 Thread xdiaod
Ok i have reread my init function XD i was affected a value in somewhere random in memory XD, i was really tired when i does that. thank you for those who have read my post. have an happy new year :D Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255866,255927#msg-255927

Re: http module handler, chain buffer and output_filter

2015-01-01 Thread xdiaod
In my handler function, the buffer has the 0 value for its last_buf property. I do not understand as i assign 1 in its initialisation. Someone know why does it behave like that? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255866,255926#msg-255926

Timeout for whole request body

2015-01-01 Thread saravsars
Nginx provides client_body_timeout which is only for a period between two successive read operations but in one of our use case we want to set timeout for whole request body. To set the timeout for whole request body, we changed the source to add a new timer. We would like to know whether this appr