Skip to content

Instantly share code, notes, and snippets.

@zby
Created August 2, 2009 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zby/159990 to your computer and use it in GitHub Desktop.
Save zby/159990 to your computer and use it in GitHub Desktop.
# dying in a tarpit
print "5 second tarpit (tolerance 2)...\n";
$ua->timeout(2);
$res = $ua->get("$HELPER_SERVER/1.5");
ok(! $res->is_success) or warn Dumper( $res ); use Data::Dumper;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment