Increase URL length to 4k, only IE limits the length of the URL to 2083
authorIlia Alshanetsky <iliaa@php.net>
Wed, 14 Dec 2005 04:10:28 +0000 (04:10 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 14 Dec 2005 04:10:28 +0000 (04:10 +0000)
bytes (http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427).

php_http_std_defs.h

index 7f65f849442d63dea15382b36563073f03b67ff5..4b5f44d7b149143a7b8125ee654067afd9f465da 100644 (file)
@@ -96,7 +96,7 @@ typedef int STATUS;
 #define HTTP_DEFAULT_CACHECONTROL "private, must-revalidate, max-age=0"
 
 /* max URL length */
-#define HTTP_URL_MAXLEN 2048
+#define HTTP_URL_MAXLEN 4096
 #define HTTP_URI_MAXLEN HTTP_URL_MAXLEN
 
 /* def URL arg separator */