diff --git a/lib/Cro/HTTP/Client.pm6 b/lib/Cro/HTTP/Client.pm6 index 2776f53..6408f26 100644 --- a/lib/Cro/HTTP/Client.pm6 +++ b/lib/Cro/HTTP/Client.pm6 @@ -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;