Permalink
Browse files

make max length of request_path 1024*12

  • Loading branch information...
1 parent 4757aa7 commit bef9f4302da730a6eb20df099ba447c85024452a @nuoyan committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/unicorn_http/global_variables.h
@@ -64,7 +64,7 @@ DEF_MAX_LENGTH(FIELD_NAME, 256);
DEF_MAX_LENGTH(FIELD_VALUE, 80 * 1024);
DEF_MAX_LENGTH(REQUEST_URI, 1024 * 12);
DEF_MAX_LENGTH(FRAGMENT, 1024); /* Don't know if this length is specified somewhere or not */
-DEF_MAX_LENGTH(REQUEST_PATH, 1024);
+DEF_MAX_LENGTH(REQUEST_PATH, 1024 * 12);
DEF_MAX_LENGTH(QUERY_STRING, (1024 * 10));
static void init_globals(void)

0 comments on commit bef9f43

Please sign in to comment.