Welcome! Log In Create A New Profile

Advanced

Close connection early

Posted by skarmali 
Close connection early
April 19, 2010 06:46PM
I am making an Ajax GET request passing in a key/value list that I just need logged by nginx. I don't care about response as my intent is to just log the arguments passed.

I tried closing connection by sending a 444:
if ($request_method = GET ) {
return 444;
}

but this causes the client to be unresponsive (blank screen).

Is there a way for nginx to just receive the HTTP GET and log it and not respond back (to save traffic and increase throughput)?

Thanks!

-Sulaiman
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready