Commit graph

14 commits

Author SHA1 Message Date
Tim Starling
0771d643c3 Rename $wgPurgeHttp11 to $wgSquidPurgeUseHostHeader
Rename $wgPurgeHttp11 to $wgSquidPurgeUseHostHeader, set it to true by
default, and update the documentation per the research I've done on
Squid's behaviour. See bug 39005.

Rewrote the release note and moved it to the correct section.

Change-Id: I9ef6a0c43fc1ba4547b34124a47815296f45b20e
2012-10-15 00:58:07 +00:00
Daniel Friesen
a8b3feec11 (bug 39005) Add $wgPurgeHttp11.
Allow SquidPurgeClient to send HTTP/1.1 PURGE requests with a Host header instead of
only sending HTTP/1.0 requests with the whole url in the PURGE line.

This is necessary to support some other reverse caching proxies like Varnish.

Change-Id: I85fe93a8ca97c5169f250967540e29fc70725119
2012-10-15 00:57:51 +00:00
umherirrender
85d8ee1f87 Remove a bunch of trailing spaces and unneeded newlines
Change-Id: I00f369641320acd7f087427ef031f3ee7efa0997
2012-10-10 20:14:40 +02:00
Reedy
ea3c298777 Add some explicit member variable definitions
Bits of parameter documentation

Change-Id: If99a344222900a6715114fa61eadcd4dd3e13db6
2012-07-05 23:51:25 +00:00
Alexandre Emsenhuber
bc9d9f1f9c Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent and removed a duplicate comment from SpecialPageFactory.php in SpecialPage.php.

Change-Id: I99dd2de7fe461f2fad4e0bd315ebc2899958a90f
2012-05-10 17:51:44 +02:00
Sam Reed
f3cc77aaee Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
2012-02-09 17:41:50 +00:00
Aaron Schulz
5a6559d8b1 Reverted r108743 per CR comment. This should at least be discussed first. 2012-01-12 19:41:18 +00:00
Sam Reed
a5c200a25b Kill "* @return void" 2012-01-12 19:12:24 +00:00
Roan Kattouw
ec0402060f Expand URLs in SquidPurgeClient too 2011-10-05 20:04:34 +00:00
Sam Reed
12a9b1d2fb More documentation tweaks and updates 2011-05-21 19:54:24 +00:00
Sam Reed
bc1c6d2a6b More parameter and return type hints 2011-04-25 22:41:54 +00:00
Sam Reed
f123c151c3 Commit some uncommited documentation from my w/c 2011-02-28 16:37:34 +00:00
Sam Reed
e76775e06f More unused variables 2010-11-30 18:44:50 +00:00
Tim Starling
cb982cfa1c * (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and general implementation of HTTP, allowing it to purge non-Squid caches such as Varnish. Tested against Squid (keep-alive on or off), Varnish, various kinds of network error, benchmarked at ~3k req/s.
* Reverted what was left of r59178
* Removed $wgDebugSquid, didn't do anything anyway
2010-02-05 03:36:04 +00:00