Skip to content

Commit

Permalink
updated Net::DNS::Native requirement to 0.12 for some important bug f…
Browse files Browse the repository at this point in the history
…ixes
  • Loading branch information
kraih committed Nov 8, 2014
1 parent cb3b509 commit 3d10668
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,5 +1,6 @@

5.60 2014-11-08
- Updated Net::DNS::Native requirement to 0.12 for some important bug fixes.

5.59 2014-11-07
- Added support for non-blocking name resolution with Net::DNS::Native.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop.pm
Expand Up @@ -322,7 +322,7 @@ is loaded.
For better scalability (epoll, kqueue) and to provide non-blocking name
resolution, SOCKS5 as well as TLS support, the optional modules L<EV> (4.0+),
L<Net::DNS::Native> (0.11+), L<IO::Socket::Socks> (0.64+) and
L<Net::DNS::Native> (0.12+), L<IO::Socket::Socks> (0.64+) and
L<IO::Socket::SSL> (1.84+) will be used automatically if they are installed.
Individual features can also be disabled with the C<MOJO_NO_NDN>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -10,7 +10,7 @@ use Socket qw(IPPROTO_TCP TCP_NODELAY);
# Non-blocking name resolution requires Net::DNS::Native
use constant NDN => $ENV{MOJO_NO_NDN}
? 0
: eval 'use Net::DNS::Native 0.11 (); 1';
: eval 'use Net::DNS::Native 0.12 (); 1';
my $NDN = NDN ? Net::DNS::Native->new(pool => 5, extra_thread => 1) : undef;

# TLS support requires IO::Socket::SSL
Expand Down Expand Up @@ -268,7 +268,7 @@ implements the following new ones.
$client->connect(address => '127.0.0.1', port => 3000);
Open a socket connection to a remote host. Note that non-blocking name
resolution depends on L<Net::DNS::Native> (0.11+) and TLS support on
resolution depends on L<Net::DNS::Native> (0.12+) and TLS support on
L<IO::Socket::SSL> (1.84+).
These options are currently available:
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Daemon.pm
Expand Up @@ -266,7 +266,7 @@ and multiple event loop support.
For better scalability (epoll, kqueue) and to provide non-blocking name
resolution, SOCKS5 as well as TLS support, the optional modules L<EV> (4.0+),
L<Net::DNS::Native> (0.11+), L<IO::Socket::Socks> (0.64+) and
L<Net::DNS::Native> (0.12+), L<IO::Socket::Socks> (0.64+) and
L<IO::Socket::SSL> (1.84+) will be used automatically if they are installed.
Individual features can also be disabled with the C<MOJO_NO_NDN>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -173,7 +173,7 @@ file with it, and send a L</"USR2"> signal to the already running server.
For better scalability (epoll, kqueue) and to provide non-blocking name
resolution, SOCKS5 as well as TLS support, the optional modules L<EV> (4.0+),
L<Net::DNS::Native> (0.11+), L<IO::Socket::Socks> (0.64+) and
L<Net::DNS::Native> (0.12+), L<IO::Socket::Socks> (0.64+) and
L<IO::Socket::SSL> (1.84+) will be used automatically if they are installed.
Individual features can also be disabled with the C<MOJO_NO_NDN>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Morbo.pm
Expand Up @@ -132,7 +132,7 @@ To start applications with it you can use the L<morbo> script.
For better scalability (epoll, kqueue) and to provide non-blocking name
resolution, SOCKS5 as well as TLS support, the optional modules L<EV> (4.0+),
L<Net::DNS::Native> (0.11+), L<IO::Socket::Socks> (0.64+) and
L<Net::DNS::Native> (0.12+), L<IO::Socket::Socks> (0.64+) and
L<IO::Socket::SSL> (1.84+) will be used automatically if they are installed.
Individual features can also be disabled with the C<MOJO_NO_NDN>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Prefork.pm
Expand Up @@ -263,7 +263,7 @@ applications.
For better scalability (epoll, kqueue) and to provide non-blocking name
resolution, SOCKS5 as well as TLS support, the optional modules L<EV> (4.0+),
L<Net::DNS::Native> (0.11+), L<IO::Socket::Socks> (0.64+) and
L<Net::DNS::Native> (0.12+), L<IO::Socket::Socks> (0.64+) and
L<IO::Socket::SSL> (1.84+) will be used automatically if they are installed.
Individual features can also be disabled with the C<MOJO_NO_NDN>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -442,7 +442,7 @@ safely.
For better scalability (epoll, kqueue) and to provide non-blocking name
resolution, SOCKS5 as well as TLS support, the optional modules L<EV> (4.0+),
L<Net::DNS::Native> (0.11+), L<IO::Socket::Socks> (0.64+) and
L<Net::DNS::Native> (0.12+), L<IO::Socket::Socks> (0.64+) and
L<IO::Socket::SSL> (1.84+) will be used automatically if they are installed.
Individual features can also be disabled with the C<MOJO_NO_NDN>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.
Expand Down

0 comments on commit 3d10668

Please sign in to comment.