You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2021/05/07 16:54:52 UTC

[httpcomponents-client] branch master updated: Upgraded HttpCore to version 5.1.1

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git


The following commit(s) were added to refs/heads/master by this push:
     new c4b2a84  Upgraded HttpCore to version 5.1.1
c4b2a84 is described below

commit c4b2a8480df9899b432e2e7a38836b77008b394b
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Fri May 7 18:51:03 2021 +0200

    Upgraded HttpCore to version 5.1.1
---
 .../src/test/java/org/apache/hc/client5/http/utils/TestURIUtils.java  | 2 +-
 pom.xml                                                               | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestURIUtils.java b/httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestURIUtils.java
index 1210f00..e2ec240 100644
--- a/httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestURIUtils.java
+++ b/httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestURIUtils.java
@@ -165,7 +165,7 @@ public class TestURIUtils {
         Assert.assertEquals(new HttpHost("local_host",8080),URIUtils.extractHost(
                 new URI("http://@local_host:8080/abcd")));
 
-        Assert.assertEquals(new HttpHost("[2a00:1450:400c:c01::69]",8080),
+        Assert.assertEquals(new HttpHost("2a00:1450:400c:c01::69",8080),
                 URIUtils.extractHost(new URI("http://[2a00:1450:400c:c01::69]:8080/")));
 
         Assert.assertEquals(new HttpHost("localhost",8080),
diff --git a/pom.xml b/pom.xml
index 0b3fb32..8897816 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,7 @@
   <properties>
     <maven.compiler.source>1.7</maven.compiler.source>
     <maven.compiler.target>1.7</maven.compiler.target>
-    <httpcore.version>5.1</httpcore.version>
+    <httpcore.version>5.1.1</httpcore.version>
     <log4j.version>2.9.1</log4j.version>
     <commons-codec.version>1.15</commons-codec.version>
     <conscrypt.version>2.2.1</conscrypt.version>
@@ -385,4 +385,4 @@
     </plugins>
   </reporting>
 
-</project>
\ No newline at end of file
+</project>