Re: send_header with NGX_HTTP_INTERNAL_SERVER_ERROR code

2016-06-19 Thread Ortal
Make sense... Thanks Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267651,267692#msg-267692 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: send_header with NGX_HTTP_INTERNAL_SERVER_ERROR code

2016-06-16 Thread itpp2012
This is a general remark, adding stuff to handle a bad request, ea., will eventually kill the performance, sending bad requests is a popular way to create a DOS/DDOS attack since the server(the added module) has to process them and do something while technically it makes no sense to do anything at

send_header with NGX_HTTP_INTERNAL_SERVER_ERROR code

2016-06-16 Thread Ortal
Hello, I have created my own NGINX module, which get rest request and return a response. When I send a response with status 500 (NGX_HTTP_INTERNAL_SERVER_ERROR) or 404 (NGX_HTTP_BAD_REQUEST) I see on the memory uses that the nginx processes is growing up PID USER PR NIVIRTRESSH