Skip to content

Commit

Permalink
fixed small Mojo::IOLoop::Stream timeout bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 17, 2011
1 parent d41f5e9 commit 62467be
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 @@ -10,6 +10,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Fixed small cleanup bug in Mojo::Asset::File.
- Fixed small multipart bug in Mojo::Message. (augensalat)
- Fixed missing status method in Mojo::Headers. (crab)
- Fixed small Mojo::IOLoop::Stream timeout bug.

2.37 2011-12-10 00:00:00
- Welcome to the Mojolicious core team Marcus Ramberg, Glen Hinkle
Expand Down
1 change: 1 addition & 0 deletions lib/Mojo/IOLoop/Stream.pm
Expand Up @@ -38,6 +38,7 @@ sub is_readable {

sub is_writing {
my $self = shift;
return if $self->{timed};
return length($self->{buffer}) || $self->has_subscribers('drain');
}

Expand Down

0 comments on commit 62467be

Please sign in to comment.