How many args in $args?

John Moore grails at
Wed Mar 7 10:09:38 UTC 2012

Is there some means of determining how many query parameters are being 
passed, by looking $args, say? There's a kind of DOS attack which can 
bring down Java based webapps which do binding of request parameters to 
properties, and it seems to me that nginx used as a remote proxy server 
could probably prevent this simply by rejecting requests which had more 
than x query parameters.

More information about the nginx mailing list