From: Roland Häder Date: Wed, 31 Aug 2011 20:45:48 +0000 (+0000) Subject: GZIP does maybe only work with SVN version of PHP, so we take ZLIB X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66d223e322253d2dd12ba0eb16953fb4f38518b9;p=hub.git GZIP does maybe only work with SVN version of PHP, so we take ZLIB --- diff --git a/application/hub/config.php b/application/hub/config.php index fa0a3ed2d..a7de9c223 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -463,7 +463,7 @@ $cfg->setConfigEntry('network_package_class', 'NetworkPackage'); $cfg->setConfigEntry('deco_package_compressor_class', 'NetworkPackageCompressorDecorator'); // CFG: RAW-PACKAGE-COMPRESSOR-CLASS -$cfg->setConfigEntry('raw_package_compressor_class', 'GzipCompressor'); +$cfg->setConfigEntry('raw_package_compressor_class', 'ZlibCompressor'); // CFG: SOCKET-REGISTRY-CLASS $cfg->setConfigEntry('socket_registry_class', 'SocketRegistry'); diff --git a/application/hub/main/factories/package/class_NetworkPackageFactory.php b/application/hub/main/factories/package/class_NetworkPackageFactory.php index 79c8a3cf9..68e2d7619 100644 --- a/application/hub/main/factories/package/class_NetworkPackageFactory.php +++ b/application/hub/main/factories/package/class_NetworkPackageFactory.php @@ -46,7 +46,7 @@ class NetworkPackageFactory extends ObjectFactory { $packageInstance = Registry::getRegistry()->getInstance('network_package'); } else { /** - * Prepare the compressor for our package, GZIP should be fine but we + * Prepare the compressor for our package, ZLIB should be fine but we * keep it open here so you can experiment with the settings and don't * need to touch any code. */