Hi,
I would like to confirm whether NginX handles multiple requests simultaneously and I followed the below procedure to confirm.
1) Added a test module to NginX (test is module name),this modules sends "Hi, Test" to requested client
2) In handler function "static ngx_int_t ngx_http_hello_handler" a "while(1)" is added after processing the request(i.e after ngx_http_discard_request_body(r) call)
3) Built and installed the NginX
4) nginx.conf I added
location /test {
test;
}
5) configured worker_processes to 5
From a browser
1) I requested http://127.0.0.1:80/test then I got Hi, test output
2) Again, I requested http://127.0.0.1:80/test but this time browser has been waited for response indefinitely
So, I think NginX may not handle multiple rerquests at a time.
Please correct me, if I've done wrong.
Regards,
Arun
Edited 1 time(s). Last edit at 10/01/2012 10:53AM by arun.