Skip to content

Commit

Permalink
Merge pull request #192 from patrickbkr/fix-http11-connection-caching
Browse files Browse the repository at this point in the history
Fix HTTP1.1 connection caching with explicitly given version
  • Loading branch information
patrickbkr authored Aug 8, 2024
2 parents ee938bb + 8d62f18 commit d42bd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cro/HTTP/Client.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Cro::HTTP::Client {
}
}
}
if $http ne '1.1' && %!cached-http1{$key} -> @available {
if $http ne '2' && %!cached-http1{$key} -> @available {
while @available {
my $pipeline = @available.shift;
return $pipeline unless $pipeline.dead;
Expand Down

0 comments on commit d42bd97

Please sign in to comment.