Skip to content

Commit

Permalink
fixed Perl 5.12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 2, 2011
1 parent a48a110 commit 0aa18b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -6,6 +6,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Improved message parser performance slightly.
- Improved resolver tests.
- Fixed small formatting bug in Mojo::Headers.
- Fixed Perl 5.12 compatibility.

1.99 2011-09-29 00:00:00
- Deprecated direct hash access to the flash in
Expand Down
2 changes: 0 additions & 2 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -2,7 +2,6 @@ package Mojo::IOLoop::Client;
use Mojo::Base 'Mojo::IOLoop::EventEmitter';

use IO::Socket::INET;
use Scalar::Util 'weaken';
use Socket qw/IPPROTO_TCP SO_ERROR TCP_NODELAY/;

# IPv6 support requires IO::Socket::IP
Expand Down Expand Up @@ -87,7 +86,6 @@ sub _connect {
setsockopt $handle, IPPROTO_TCP, TCP_NODELAY, 1;

# TLS
weaken $self;
if ($args->{tls}) {

# No TLS support
Expand Down

0 comments on commit 0aa18b7

Please sign in to comment.