Skip to content

Commit

Permalink
improved resilience of Mojo::IOLoop::Stream slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 27, 2012
1 parent dd7a0dc commit 1eae07b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -15,6 +15,7 @@ This file documents the revision history for Perl extension Mojolicious.
documentation.
- Increased default connect timeout from 3 to 10 seconds in
Mojo::UserAgent and Mojo::IOLoop::Client.
- Improved resilience of Mojo::IOLoop::Stream.
- Improved test command to colorize by default.
- Improved documentation.
- Fixed small rendering bug in Mojolicious::Plugin::PODRenderer.
Expand Down
1 change: 1 addition & 0 deletions lib/Mojo/IOLoop/Stream.pm
Expand Up @@ -39,6 +39,7 @@ sub handle { shift->{handle} }

sub is_readable {
my $self = shift;
$self->{active} = time;
return $self->{handle} && $self->iowatcher->is_readable($self->{handle});
}

Expand Down

0 comments on commit 1eae07b

Please sign in to comment.