Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no warnings

  • Loading branch information...
commit 699d4c4685de218350914337176cf455d951197b 1 parent a5151e4
@miyagawa miyagawa authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.