From ed6737d049f752b0117c73c63751223c45356827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Wed, 6 Mar 2024 13:53:31 +0100 Subject: [PATCH] Add URI to message of GOAWAY info (cherry picked from commit 62f83cfca9b134546cb267a61359eec51a5a4d42) --- .../tycho/p2maven/transport/Java11HttpTransportFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/Java11HttpTransportFactory.java b/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/Java11HttpTransportFactory.java index 1d6ca5a0f7..13acbda7ab 100644 --- a/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/Java11HttpTransportFactory.java +++ b/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/Java11HttpTransportFactory.java @@ -112,7 +112,8 @@ public T get(ResponseConsumer 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); }