Created
September 10, 2015 20:52
-
-
Save neilstuartcraig/62cb5236eeabab9a8a4d to your computer and use it in GitHub Desktop.
nginx vary header length patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/http/ngx_http_cache.h 2015-06-05 15:10:36.000000000 +0100 | |
+++ b/src/http/ngx_http_cache.h 2015-06-05 15:16:21.000000000 +0100 | |
@@ -25,7 +25,7 @@ | |
#define NGX_HTTP_CACHE_KEY_LEN 16 | |
#define NGX_HTTP_CACHE_ETAG_LEN 42 | |
-#define NGX_HTTP_CACHE_VARY_LEN 42 | |
+#define NGX_HTTP_CACHE_VARY_LEN 4096 | |
#define NGX_HTTP_CACHE_VERSION 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment