Skip to content

Commit

Permalink
Fix using HTTP::Client without an object
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbkr committed Oct 21, 2023
1 parent d1c6d4e commit 81121ce
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 @@ -593,7 +593,7 @@ class Cro::HTTP::Client {
Promise(supply {
my $request-start-time = now;
my $conn-timeout = $timeout-policy.get-timeout(0, 'connection');
my $goaway-retries = $!http2-goaway-retries;
my $goaway-retries = self ?? $!http2-goaway-retries !! %options<http2-goaway-retries> // 1;
my Supplier $retry-supplier .= new;
my $retry-supply = $retry-supplier.Supply;
sub do-request-on-pipeline() {
Expand Down

0 comments on commit 81121ce

Please sign in to comment.