r92968 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92967‎ | r92968 | r92969 >
Date:22:01, 23 July 2011
Author:asher
Status:deferred
Tags:
Comment:
fix patch in relation to 23-variant-invalidation.dpatch
Modified paths:
  • /trunk/debs/squid/debian/patches/26-vary_options.dpatch (modified) (history)

Diff [purge]

Index: trunk/debs/squid/debian/patches/26-vary_options.dpatch
@@ -359,10 +359,8 @@
360360 storeSetPublicKey(state->e);
361361 if (!state->oe) {
362362 /* New entry, create new unique ID */
363 -@@ -1071,20 +1076,8 @@
364 - }
365 - newkey = storeKeyPublicByRequest(mem->request);
366 - if (mem->vary_headers && !EBIT_TEST(e->flags, KEY_EARLY_PUBLIC)) {
 363+@@ -1077,15 +1077,3 @@
 364+ if (mem->vary_headers && !EBIT_TEST(e->flags, KEY_EARLY_PUBLIC)) {
367365 - String vary = StringNull;
368366 vary_id_t vary_id;
369367 - String varyhdr;
@@ -378,6 +376,4 @@
379377 - stringClean(&varyhdr);
380378 -#endif
381379 + String vary = httpHeaderGetVary(&mem->reply->header);
382 - /* Create or update the vary object */
383 - vary_id = storeAddVary(mem->store_url, mem->url, mem->method, newkey, httpHeaderGetStr(&mem->reply->header, HDR_ETAG), strBuf(vary), mem->vary_headers, mem->vary_encoding);
384 - if (vary_id.create_time) {
 380+

Status & tagging log