Browse files

no warnings

  • Loading branch information...
1 parent a5151e4 commit 699d4c4685de218350914337176cf455d951197b @miyagawa miyagawa committed Sep 21, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Plack/Impl/Coro.pm
View
3 lib/Plack/Impl/Coro.pm
@@ -49,8 +49,9 @@ sub process_request {
my $buf = '';
while (1) {
- $buf .= $fh->readline("\015\012\015\012")
+ my $read = $fh->readline("\015\012\015\012")
or last;
+ $buf .= $read;
my $reqlen = parse_http_request($buf, $env);
if ($reqlen >= 0) {

0 comments on commit 699d4c4

Please sign in to comment.