Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cheat a little more
  • Loading branch information
kraih committed Feb 18, 2016
1 parent 5d9a6dd commit d5cf353
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/microhttpd.pl
Expand Up @@ -6,7 +6,6 @@
Mojo::IOLoop->server(
{port => 8080} => sub {
my ($loop, $stream, $id) = @_;
$buffer{$id} = '';
$stream->on(
read => sub {
my ($stream, $chunk) = @_;
Expand All @@ -23,7 +22,6 @@
}
}
);
$stream->on(close => sub { delete $buffer{$id} });
}
);

Expand Down

0 comments on commit d5cf353

Please sign in to comment.