Manual:$wgHTCPMulticastAddress

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgHTCPMulticastAddress and the translation is 40% complete.

Other languages:
English • ‎español • ‎polski • ‎中文 • ‎日本語
HTCP multicast purging: $wgHTCPMulticastAddress
What address to send udp HTCP purge packets if being used
Introducido en la versión:1.4.1
Eliminado en la versión:1.24.0 (git #0eed71b7)
Valores permitidos:(Dirección IP)
Valor predeterminado:false (1.9-1.23)
"224.0.0.85" (1.4.1-1.8)

Detalles

Deprecated. Setting first appeared in 1.4.1, but was commented out in DefaultSettings.php . Set to false from 1.9.0. Replaced by $wgHTCPMulticastRouting in MediaWiki 1.20 and $wgHTCPRouting in MediaWiki 1.22 and subsequent versions.

HTCP is a method of purging entries from the Squid cache that can use multicast and udp which is faster then opening an http connection to every squid server.

The $wgHTCPMulticastAddress variable is deprecated as of MediaWiki 1.20.0 but is still recognized by being copied to the new one in includes/Setup.php :

// $wgHTCPMulticastRouting se renombró como $wgHTCPRouting en MediaWiki 1.22
// asegura compatibilidad hacia atrás.
if ( !$wgHTCPRouting && $wgHTCPMulticastRouting ) {
        $wgHTCPRouting = $wgHTCPMulticastRouting;
}

// Initialize $wgHTCPRouting from backwards-compatible settings that comes from pre 1.20 version.
if ( !$wgHTCPRouting && $wgHTCPMulticastAddress ) {
        $wgHTCPRouting = array(
                '' => array(
                        'host' => $wgHTCPMulticastAddress,
                        'port' => $wgHTCPPort,
                )
        );
}

Véase también