From 822a01401ab8ec399cbd61560943b2b7b0422c2c Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Thu, 3 Aug 2017 10:57:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=89=A7=E8=A1=8C=E5=99=A8?= =?UTF-8?q?=E5=9B=9E=E8=B0=83URL=E4=B8=8D=E6=94=AF=E6=8C=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AEHTTPS=E6=97=B6=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java index 2402949a..d03a28c1 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/client/JettyClient.java @@ -21,8 +21,8 @@ public class JettyClient { // reqURL String reqURL = request.getServerAddress(); - if (reqURL!=null && reqURL.toLowerCase().indexOf("http://")==-1) { - reqURL = "http://" + request.getServerAddress() + "/"; + if (reqURL!=null && reqURL.toLowerCase().indexOf("http")==-1) { + reqURL = "http://" + request.getServerAddress() + "/"; // IP:PORT, need parse to url } // remote invoke -- GitLab