Skip to content

Commit

Permalink
Add URI to message of GOAWAY info
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Mar 6, 2024
1 parent 725b8ef commit 62f83cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public <T> T get(ResponseConsumer<T> consumer) throws IOException {
return performGet(consumer, client);
} catch (IOException e) {
if (isGoaway(e)) {
logger.info("Received GOAWAY from server " + uri.getHost() + " will retry with Http/1...");
logger.info("Received GOAWAY from server " + uri.getHost() + " will retry download of " + uri
+ " with Http/1...");
TimeUnit.SECONDS.sleep(1);
return performGet(consumer, clientHttp1);
}
Expand Down

0 comments on commit 62f83cf

Please sign in to comment.