From 007550ec95d8b7430f5702864e9b5e8aab5c95db Mon Sep 17 00:00:00 2001 From: Steve Hawkins Date: Mon, 27 Mar 2023 16:20:11 -0400 Subject: [PATCH] fix #5002: moving jetty response completion after headers --- .../kubernetes/client/jetty/JettyAsyncResponseListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java b/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java index 7eb89157886..ff863a573a3 100644 --- a/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java +++ b/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java @@ -66,7 +66,7 @@ public void cancel() { } @Override - public void onBegin(Response response) { + public void onHeaders(Response response) { asyncResponse.complete(new JettyHttpResponse<>(httpRequest, response, this)); }