Skip to content

Commit

Permalink
fail more consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 12, 2014
1 parent 5f6e035 commit 0d477f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -2,6 +2,7 @@ package Mojo::IOLoop::Client;
use Mojo::Base 'Mojo::EventEmitter';

use Errno 'EINPROGRESS';
use IO::Socket::IP;
use Mojo::IOLoop;
use Scalar::Util 'weaken';
use Socket qw(IPPROTO_TCP TCP_NODELAY);
Expand All @@ -12,9 +13,6 @@ use constant NDN => $ENV{MOJO_NO_NDN}
: eval 'use Net::DNS::Native 0.14 (); 1';
my $NDN = NDN ? Net::DNS::Native->new(pool => 5, extra_thread => 1) : undef;

# Needs to be loaded after Net::DNS::Native
use IO::Socket::IP;

# TLS support requires IO::Socket::SSL
use constant TLS => $ENV{MOJO_NO_TLS}
? 0
Expand Down

0 comments on commit 0d477f2

Please sign in to comment.