return 414 for URI length violations
commitf81aa02448b615c4d5fc4f6544c53289dae9d2ec
authorEric Wong <normalperson@yhbt.net>
Wed, 4 May 2011 23:41:36 +0000 (4 16:41 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 4 May 2011 23:41:36 +0000 (4 16:41 -0700)
treeca8b4d49e5baaedb7106932c3fc73d0078e5a0d1
parent3a76dc40dda91a3804276fcc73260bb2a529c034
return 414 for URI length violations

There's an HTTP status code allocated for it in
<http://www.iana.org/assignments/http-status-codes>, so
return that instead of 400.
ext/unicorn_http/global_variables.h
ext/unicorn_http/unicorn_http.rl
lib/unicorn/const.rb
lib/unicorn/http_server.rb
t/t0002-parser-error.sh