Skip to content

Commit

Permalink
Merge pull request #168 from patrickbkr/fix-http2-connection-timeout
Browse files Browse the repository at this point in the history
Fix cleanup of timed out connections
  • Loading branch information
jnthn committed Oct 17, 2022
2 parents 51a26e6 + 45eb71b commit 7ed95be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cro/HTTP/Client.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ class Cro::HTTP::Client {
whenever $connection -> Cro::Transform $transform {
whenever $transform.transformer($incoming) -> $msg {
emit $msg;
LAST done;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions lib/Cro/HTTP2/GeneralParser.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ role Cro::HTTP2::GeneralParser does Cro::ConnectionState[Cro::HTTP2::ConnectionS
%streams{.stream-identifier}.headers ~= .headers;
}
}
LAST done;
}
}
}
Expand Down

0 comments on commit 7ed95be

Please sign in to comment.