Skip to content

Commit

Permalink
this line does not appear to do anything
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 2, 2018
1 parent c4990e5 commit cdb82fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Mojo/Server/Daemon.pm
Expand Up @@ -105,7 +105,6 @@ sub _build_tx {
# Last keep-alive request or corrupted connection
my $c = $self->{connections}{$id};
$tx->res->headers->connection('close')
and ++Mojo::IOLoop->stream($id)->{closed}
if ($c->{requests} || 1) >= $self->max_requests || $req->error;

$tx->on(resume => sub { $self->_write($id) });
Expand Down

1 comment on commit cdb82fb

@zakame
Copy link
Contributor

@zakame zakame commented on cdb82fb Feb 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🎉

Please sign in to comment.