Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a comment to t/05_reconnect_timeout.t so that we stop 'fixing' it.

  • Loading branch information...
commit 55d5af9a6e65963260cb73ce27240ed72acf5918 1 parent 3039298
Jonathan Steinert authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 t/05_reconnect_timeout.t
View
8 t/05_reconnect_timeout.t
@@ -6,6 +6,14 @@ use Cache::Memcached;
use IO::Socket::INET;
use Time::HiRes qw(gettimeofday tv_interval);
+##############################################################################
+# This is connecting to TEST-NET-1 on purpose, because that's a space that is
+# guaranteed by RFC to have no hosts in it. Sometimes we still get fast RST
+# frames though, so we have to check before we trust it.
+#
+# DO NOT FIX THIS CODE TO CHECK AND MAKE SURE THE HOST IS UP. IT IS SUPPOSED
+# TO BE DOWN. :) --hachi
+##############################################################################
my $testaddr = "192.0.2.1:11211";
my $stime = [gettimeofday];
Please sign in to comment.
Something went wrong with that request. Please try again.