Throw exception on falsy server in RedisConnectionPool.
authorMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 30 Jul 2015 21:38:42 +0000 (17:38 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 30 Jul 2015 21:40:21 +0000 (17:40 -0400)
commit70e949bdc2bfb7d06c07955fc81505567bcf7818
treeb89a370e88ee6612a0fe29ff900bdaa230a7e72b
parent4f66acf479bcbebdd3ca539f1313611ef57ff688
Throw exception on falsy server in RedisConnectionPool.

Surprisingly, IP::splitHostAndPort does not return false for these.

Also, tweak documentation of splitHostAndPort.

Bug: T107498
Change-Id: I4230b1e7ba0fa2d28be8de3e0e7b064e58f0579c
includes/clientpool/RedisConnectionPool.php
includes/utils/IP.php