http: increase REQUEST_PATH maximum length to 4K
commit7eccef471a609c87281bb90d9d3b3d7a7b35709e
authorEric Wong <normalperson@yhbt.net>
Thu, 12 Apr 2012 07:40:46 +0000 (12 07:40 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 17 Apr 2012 20:04:45 +0000 (17 20:04 +0000)
tree966476755c3923c5711d369586701616d14a6b88
parentb26d3e2c4387707ca958cd9c63c213fc7ac558fa
http: increase REQUEST_PATH maximum length to 4K

The previous REQUEST_PATH limit of 1024 is relatively small and
some users encounter problems with long URLs.  4K is a common
limit for PATH_MAX on modern GNU/Linux systems and REQUEST_PATH
is likely to translate to a filesystem path name.

Thanks to Nuo Yan <yan.nuo@gmail.com> and Lawrence Pit
<lawrence.pit@gmail.com> for their feedback on this issue.

ref: http://mid.gmane.org/CB935F19-72B8-4EC2-8A1D-5084B37C09F2@gmail.com
ext/unicorn_http/global_variables.h