ASF Bugzilla – Attachment 18939 Details for
Bug 40646
proxy cache not honoring vary header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for this bug
c-e.patch (text/plain), 779 bytes, created by
Maxim Zakharov
on 2006-09-29 12:44:50 UTC
(
hide
)
Description:
fix for this bug
Filename:
MIME Type:
Creator:
Maxim Zakharov
Created:
2006-09-29 12:44:50 UTC
Size:
779 bytes
patch
obsolete
>Index: httpd-1.3.x/src/modules/proxy/proxy_cache.c >=================================================================== >--- httpd-1.3.x/src/modules/proxy/proxy_cache.c (revision 451284) >+++ httpd-1.3.x/src/modules/proxy/proxy_cache.c (working copy) >@@ -1091,6 +1091,15 @@ > return DECLINED; > } > } >+ /* >+ * check Content-Encoding >+ */ >+ { >+ const char *c_encoding = ap_table_get(c->hdrs, "Content-Encoding"); >+ const char *r_encoding = ap_table_get(r->headers_in, "Accept-Encoding"); >+ if (c_encoding != NULL && r_encoding == NULL) return DECLINED; >+ if (c_encoding != NULL && r_encoding != NULL && strstr(r_encoding, c_encoding) == NULL) return DECLINED; >+ } > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40646
: 18939