Permalink
Browse files

improved resilience of Mojo::IOLoop::Stream slightly

  • Loading branch information...
1 parent dd7a0dc commit 1eae07bde809a71f112c6be65de0871801b501f4 @kraih committed Feb 27, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 lib/Mojo/IOLoop/Stream.pm
View
@@ -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.
@@ -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});
}

0 comments on commit 1eae07b

Please sign in to comment.