Hash init

2015-01-08 Thread xdiaod
Hello, Maybe i am not in the right mailing list, please refer me to the good one if i am at the wrong one. I just want to understand the " for (size = start; size <= hinit->max_size; size++) " loop in the ngx_hash_init function. I do not understand what "size", "key"

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

Re: http module handler, chain buffer and output_filter

2014-12-29 Thread xdiaod
Does something is trying to free the buffers directly before freeing the pool in the output filter? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255866,255867#msg-255867 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

http module handler, chain buffer and output_filter

2014-12-29 Thread xdiaod
Hey, i wonder why the server is freezing when i do a request to it and i do not define the "NO_PROBLEM" macro in the code. In my ngx_html_chain_buffers_init i do a ngx_pcalloc because i thought that the server was freezing because of some memory missing alignment(it was firstly static). I am just t