From a666faab4f7d306fef6980e549840f5e060d17a7 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 13 May 2019 18:21:38 +0200 Subject: [PATCH 01/13] Update to upstream version 4.4.11 --- .gitignore | 1 + httpcomponents-core.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8be24ff..dc5b932 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ httpcomponents-core-4.1.4-src.tar.gz /httpcomponents-core-4.4.8-src.tar.gz /httpcomponents-core-4.4.9-src.tar.gz /httpcomponents-core-4.4.10-src.tar.gz +/httpcomponents-core-4.4.11-src.tar.gz diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 2ddbf68..c88011c 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,7 +1,7 @@ Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services -Version: 4.4.10 -Release: 5%{?dist} +Version: 4.4.11 +Release: 1%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz @@ -98,6 +98,9 @@ done %doc LICENSE.txt NOTICE.txt %changelog +* Mon May 13 2019 Mikolaj Izdebski - 4.4.11-1 +- Update to upstream version 4.4.11 + * Fri Feb 01 2019 Fedora Release Engineering - 4.4.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index fc6dd3b..045796c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpcomponents-core-4.4.10-src.tar.gz) = 3e209b86395d784ccee04cc57755cbf00aceb6223e017e60d711e5f967badf3e193150d372c1877551960d6b4252c704f3a8062aaf1a2d83785954ea53f1a379 +SHA512 (httpcomponents-core-4.4.11-src.tar.gz) = bc70f1c12df290b68afe0d29eba07edb5b9cda2fa1c6802fbb0d1e3906104ea6273caafbcdb9123c138db8236efa983b76d6708992d02e2690ad9a3c6e20b5f3 From 544042d794d4f6ac838d1b339b0e51b579e3fd48 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 13 May 2019 18:40:43 +0200 Subject: [PATCH 02/13] Rebase patches --- ...to-2.patch => 0001-Port-to-mockito-2.patch | 198 +++++++++--------- ...-generated-expired-test-certificates.patch | Bin 21328 -> 0 bytes httpcomponents-core.spec | 6 +- 3 files changed, 98 insertions(+), 106 deletions(-) rename 0002-Port-to-mockito-2.patch => 0001-Port-to-mockito-2.patch (67%) delete mode 100644 0001-Re-generated-expired-test-certificates.patch diff --git a/0002-Port-to-mockito-2.patch b/0001-Port-to-mockito-2.patch similarity index 67% rename from 0002-Port-to-mockito-2.patch rename to 0001-Port-to-mockito-2.patch index b235104..78aeb3d 100644 --- a/0002-Port-to-mockito-2.patch +++ b/0001-Port-to-mockito-2.patch @@ -1,21 +1,21 @@ -From 455ae8a16dba896970a89e47962d32e09f63c346 Mon Sep 17 00:00:00 2001 +From 85107ca9057cda2ed4d72ba1fd3c2c09be404af6 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Fri, 7 Dec 2018 19:50:08 +0000 -Subject: [PATCH 2/2] Port to mockito 2 +Subject: [PATCH] Port to mockito 2 For details, see: https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2#incompatible --- .../impl/nio/pool/TestBasicNIOConnPool.java | 2 +- - .../apache/http/nio/pool/TestNIOConnPool.java | 72 ++++++++++--------- + .../apache/http/nio/pool/TestNIOConnPool.java | 68 +++++++++---------- .../nio/protocol/TestHttpAsyncService.java | 8 +-- - 3 files changed, 43 insertions(+), 39 deletions(-) + 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/httpcore-nio/src/test/java/org/apache/http/impl/nio/pool/TestBasicNIOConnPool.java b/httpcore-nio/src/test/java/org/apache/http/impl/nio/pool/TestBasicNIOConnPool.java -index 78f9cdc..4d0c6b0 100644 +index 25e2781cf..ee277c69d 100644 --- a/httpcore-nio/src/test/java/org/apache/http/impl/nio/pool/TestBasicNIOConnPool.java +++ b/httpcore-nio/src/test/java/org/apache/http/impl/nio/pool/TestBasicNIOConnPool.java -@@ -115,7 +115,7 @@ public class TestBasicNIOConnPool { +@@ -115,7 +115,7 @@ public void testTimeoutOnLeaseRelease() throws Exception { Mockito.when(sessionRequest.getAttachment()).thenReturn(host); Mockito.when(reactor.connect( Matchers.any(SocketAddress.class), @@ -25,300 +25,296 @@ index 78f9cdc..4d0c6b0 100644 Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest); diff --git a/httpcore-nio/src/test/java/org/apache/http/nio/pool/TestNIOConnPool.java b/httpcore-nio/src/test/java/org/apache/http/nio/pool/TestNIOConnPool.java -index e64a6d3..1ea6ce1 100644 +index 9672db6db..20f230acb 100644 --- a/httpcore-nio/src/test/java/org/apache/http/nio/pool/TestNIOConnPool.java +++ b/httpcore-nio/src/test/java/org/apache/http/nio/pool/TestNIOConnPool.java -@@ -176,7 +176,7 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( +@@ -176,7 +176,7 @@ public void testSuccessfulConnect() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.any(SocketAddress.class), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest); - final LocalSessionPool pool = new LocalSessionPool(ioreactor, 2, 10); -@@ -209,7 +209,7 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final LocalSessionPool pool = new LocalSessionPool(ioReactor, 2, 10); +@@ -209,7 +209,7 @@ public void testFailedConnect() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.any(SocketAddress.class), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest); - final LocalSessionPool pool = new LocalSessionPool(ioreactor, 2, 10); -@@ -246,7 +246,7 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final LocalSessionPool pool = new LocalSessionPool(ioReactor, 2, 10); +@@ -246,7 +246,7 @@ public void testCencelledConnect() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.any(SocketAddress.class), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest); - Mockito.when(ioreactor.getStatus()).thenReturn(IOReactorStatus.ACTIVE); -@@ -285,7 +285,7 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + Mockito.when(ioReactor.getStatus()).thenReturn(IOReactorStatus.ACTIVE); +@@ -285,7 +285,7 @@ public void testTimeoutConnect() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.any(SocketAddress.class), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest); - final LocalSessionPool pool = new LocalSessionPool(ioreactor, 2, 10); -@@ -351,12 +351,12 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final LocalSessionPool pool = new LocalSessionPool(ioReactor, 2, 10); +@@ -350,12 +350,12 @@ public void testLeaseRelease() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1); - Mockito.when(ioreactor.connect( + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest2); -@@ -425,12 +425,12 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( +@@ -424,12 +424,12 @@ public void testMaxLimits() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1); - Mockito.when(ioreactor.connect( + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest2); -@@ -483,7 +483,8 @@ public class TestNIOConnPool { +@@ -482,7 +482,7 @@ public void testMaxLimits() throws Exception { Assert.assertFalse(future9.isDone()); - Mockito.verify(ioreactor, Mockito.times(3)).connect( + Mockito.verify(ioReactor, Mockito.times(3)).connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), -+ Matchers.any(SocketAddress.class), -+ Matchers.isNull(), ++ Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.release(entry4, true); -@@ -495,7 +496,8 @@ public class TestNIOConnPool { +@@ -494,7 +494,7 @@ public void testMaxLimits() throws Exception { Assert.assertTrue(future9.isDone()); - Mockito.verify(ioreactor, Mockito.times(4)).connect( + Mockito.verify(ioReactor, Mockito.times(4)).connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), -+ Matchers.any(SocketAddress.class), -+ Matchers.isNull(), ++ Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); } -@@ -524,12 +526,12 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( +@@ -523,12 +523,12 @@ public void testConnectionRedistributionOnTotalMaxLimit() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1, sessionRequest2, sessionRequest1); - Mockito.when(ioreactor.connect( + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest3, sessionRequest4, sessionRequest3); -@@ -545,12 +547,12 @@ public class TestNIOConnPool { +@@ -544,12 +544,12 @@ public void testConnectionRedistributionOnTotalMaxLimit() throws Exception { - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); - Mockito.verify(ioreactor, Mockito.never()).connect( + Mockito.verify(ioReactor, Mockito.never()).connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.requestCompleted(sessionRequest1); -@@ -576,12 +578,12 @@ public class TestNIOConnPool { +@@ -575,12 +575,12 @@ public void testConnectionRedistributionOnTotalMaxLimit() throws Exception { - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.requestCompleted(sessionRequest3); -@@ -604,12 +606,12 @@ public class TestNIOConnPool { +@@ -603,12 +603,12 @@ public void testConnectionRedistributionOnTotalMaxLimit() throws Exception { - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.release(entry3, true); -@@ -617,12 +619,12 @@ public class TestNIOConnPool { +@@ -616,12 +616,12 @@ public void testConnectionRedistributionOnTotalMaxLimit() throws Exception { - Mockito.verify(ioreactor, Mockito.times(3)).connect( + Mockito.verify(ioReactor, Mockito.times(3)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.requestCompleted(sessionRequest1); -@@ -644,12 +646,12 @@ public class TestNIOConnPool { +@@ -643,12 +643,12 @@ public void testConnectionRedistributionOnTotalMaxLimit() throws Exception { - Mockito.verify(ioreactor, Mockito.times(3)).connect( + Mockito.verify(ioReactor, Mockito.times(3)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("otherhost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); totals = pool.getTotalStats(); -@@ -678,7 +680,7 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( +@@ -677,7 +677,7 @@ public void testStatefulConnectionRedistributionOnPerRouteMaxLimit() throws Exce + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1, sessionRequest2, sessionRequest3); -@@ -691,7 +693,7 @@ public class TestNIOConnPool { +@@ -690,7 +690,7 @@ public void testStatefulConnectionRedistributionOnPerRouteMaxLimit() throws Exce - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.requestCompleted(sessionRequest1); -@@ -726,7 +728,7 @@ public class TestNIOConnPool { +@@ -725,7 +725,7 @@ public void testStatefulConnectionRedistributionOnPerRouteMaxLimit() throws Exce - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioReactor, Mockito.times(2)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.release(entry3, true); -@@ -743,7 +745,7 @@ public class TestNIOConnPool { +@@ -742,7 +742,7 @@ public void testStatefulConnectionRedistributionOnPerRouteMaxLimit() throws Exce - Mockito.verify(ioreactor, Mockito.times(3)).connect( + Mockito.verify(ioReactor, Mockito.times(3)).connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); - Mockito.verify(iosession2).close(); -@@ -766,7 +768,7 @@ public class TestNIOConnPool { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + Mockito.verify(ioSession2).close(); +@@ -765,7 +765,7 @@ public void testCreateNewIfExpired() throws Exception { + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( Matchers.eq(InetSocketAddress.createUnresolved("somehost", 80)), - Matchers.any(SocketAddress.class), + Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1); -@@ -775,7 +777,8 @@ public class TestNIOConnPool { +@@ -774,7 +774,7 @@ public void testCreateNewIfExpired() throws Exception { final Future future1 = pool.lease("somehost", null); - Mockito.verify(ioreactor, Mockito.times(1)).connect( + Mockito.verify(ioReactor, Mockito.times(1)).connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), -+ Matchers.any(SocketAddress.class), -+ Matchers.isNull(), ++ Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); pool.requestCompleted(sessionRequest1); -@@ -795,7 +798,8 @@ public class TestNIOConnPool { +@@ -794,7 +794,7 @@ public void testCreateNewIfExpired() throws Exception { - Mockito.verify(iosession1).close(); - Mockito.verify(ioreactor, Mockito.times(2)).connect( + Mockito.verify(ioSession1).close(); + Mockito.verify(ioReactor, Mockito.times(2)).connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), -+ Matchers.any(SocketAddress.class), -+ Matchers.isNull(), ++ Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class)); final PoolStats totals = pool.getTotalStats(); -@@ -824,7 +828,7 @@ public class TestNIOConnPool { +@@ -823,7 +823,7 @@ public void testCloseExpired() throws Exception { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), + Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1, sessionRequest2); -@@ -880,7 +884,7 @@ public class TestNIOConnPool { +@@ -879,7 +879,7 @@ public void testCloseIdle() throws Exception { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), + Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1, sessionRequest2); -@@ -945,7 +949,7 @@ public class TestNIOConnPool { +@@ -944,7 +944,7 @@ public void testLeaseRequestTimeout() throws Exception { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), + Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1); -@@ -1049,7 +1053,7 @@ public class TestNIOConnPool { +@@ -1048,7 +1048,7 @@ public void testLeaseRequestCanceled() throws Exception { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), + Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1); - Mockito.when(ioreactor.getStatus()).thenReturn(IOReactorStatus.ACTIVE); -@@ -1083,7 +1087,7 @@ public class TestNIOConnPool { + Mockito.when(ioReactor.getStatus()).thenReturn(IOReactorStatus.ACTIVE); +@@ -1082,7 +1082,7 @@ public void testLeaseRequestCanceledWhileConnecting() throws Exception { - final ConnectingIOReactor ioreactor = Mockito.mock(ConnectingIOReactor.class); - Mockito.when(ioreactor.connect( + final ConnectingIOReactor ioReactor = Mockito.mock(ConnectingIOReactor.class); + Mockito.when(ioReactor.connect( - Matchers.any(SocketAddress.class), Matchers.any(SocketAddress.class), + Matchers.any(SocketAddress.class), Matchers.isNull(), Matchers.any(), Matchers.any(SessionRequestCallback.class))). thenReturn(sessionRequest1); - Mockito.when(ioreactor.getStatus()).thenReturn(IOReactorStatus.ACTIVE); + Mockito.when(ioReactor.getStatus()).thenReturn(IOReactorStatus.ACTIVE); diff --git a/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncService.java b/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncService.java -index 235915b..c631d46 100644 +index dcb92a629..947b05fa9 100644 --- a/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncService.java +++ b/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncService.java -@@ -503,8 +503,8 @@ public class TestHttpAsyncService { +@@ -502,8 +502,8 @@ public void testEntityEnclosingRequestContinueWithoutVerification() throws Excep Mockito.verify(this.conn).submitResponse(Matchers.argThat(new ArgumentMatcher() { @Override @@ -329,7 +325,7 @@ index 235915b..c631d46 100644 return status == 100; } -@@ -1020,8 +1020,8 @@ public class TestHttpAsyncService { +@@ -1019,8 +1019,8 @@ public void testResponseContinue() throws Exception { Mockito.verify(this.conn).submitResponse(Matchers.argThat(new ArgumentMatcher() { @Override @@ -341,5 +337,5 @@ index 235915b..c631d46 100644 } -- -2.19.1 +2.21.0 diff --git a/0001-Re-generated-expired-test-certificates.patch b/0001-Re-generated-expired-test-certificates.patch deleted file mode 100644 index a8db7fff441f0d3003288d3a9d4a3f85b23567fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21328 zcmeHv1ymecwlE~d;eOO)!jwys@iqVsa@wgTcw;G?0{T69L7*yUK3+82$f#DC zg*v-hnOm8{j<}$qfj}TMAS){?n~Sq4+xO#a&QKQzH)m6*%a2`gnR@ z;0y%GKll?m%*p}-rd@NmE z9Zg|3`-hEkaj|7}^>BqX=0|&gKn@@?Gcy`&V{T;&bpe`M8rxfZA2JT0l|Agvu2v5A zE)2|!XlQ0u=H@^U$im7MXw3HC-sk7eoBZ3Cpjp|QK|O$AQ*$meGd@;Uc5VpN#LNT; z0fV_YIlmA8A7}>}th2yB&=yfqAPB<32>~+0emQ}nqG+Joz1uxFI5>FN7XkJKz@hxo zXLi{CCbh^3QgCoc0I(n84Hy#{4aAHLKm;(s;{X6iaEN}0Tlsg##K}6_^m%I7>>vBj zA6?L3^gz&&stARWqzjghA?gY8jTr?ucoX^sZxmdsrP+^1OWsB`YRR1zw${vN););p z*K8k9QSgyAE;4Y!&`&g&y3)^UzPHzB68NcIKT|Ktvu9BA!XC4V%QkOVl-6lL*e2kS zrY0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ponents-core.spec index c88011c..3d07714 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -5,9 +5,7 @@ Release: 1%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz -# Expired test certificates. Backported from upstream commit 8caeb927a. -Patch0: 0001-Re-generated-expired-test-certificates.patch -Patch1: 0002-Port-to-mockito-2.patch +Patch0: 0001-Port-to-mockito-2.patch BuildArch: noarch @@ -43,9 +41,7 @@ Summary: API documentation for %{name} %prep %setup -q - %patch0 -p1 -%patch1 -p1 # Random test failures on ARM -- 100 ms sleep is not eneough on this # very performant arch, lets make it 2 s From 0b634acf8bd62681c3044c3dd7bc7755f5eeaf6e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 21 May 2019 10:30:50 +0200 Subject: [PATCH 03/13] Skip tests for now --- httpcomponents-core.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 3d07714..af0c3be 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -82,7 +82,7 @@ done %mvn_file ":{*}" httpcomponents/@1 %build -%mvn_build +%mvn_build -f %install %mvn_install From b70e0385b6a69c37f6539a3c15058b4e69dd8be2 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 22 May 2019 09:31:27 +0200 Subject: [PATCH 04/13] Revert "Skip tests for now" This reverts commit 0b634acf8bd62681c3044c3dd7bc7755f5eeaf6e. --- httpcomponents-core.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index af0c3be..3d07714 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -82,7 +82,7 @@ done %mvn_file ":{*}" httpcomponents/@1 %build -%mvn_build -f +%mvn_build %install %mvn_install From 34985f5711ae1852b0ddb6e22334194d7b0563ad Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 24 May 2019 17:00:40 +0200 Subject: [PATCH 05/13] Mass rebuild for javapackages-tools 201901 --- httpcomponents-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 3d07714..1590381 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,7 +1,7 @@ Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services Version: 4.4.11 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz @@ -94,6 +94,9 @@ done %doc LICENSE.txt NOTICE.txt %changelog +* Fri May 24 2019 Mikolaj Izdebski - 4.4.11-2 +- Mass rebuild for javapackages-tools 201901 + * Mon May 13 2019 Mikolaj Izdebski - 4.4.11-1 - Update to upstream version 4.4.11 From bea4c94ae07ea3950ad528b342449c3e7310a966 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 28 Jun 2019 10:57:39 +0200 Subject: [PATCH 06/13] Use javadoc_package macro --- httpcomponents-core.spec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 1590381..94329c6 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -32,12 +32,7 @@ appropriate for high latency scenarios where raw data throughput is less important than the ability to handle thousands of simultaneous HTTP connections in a resource efficient manner. -%package javadoc -Summary: API documentation for %{name} - -%description javadoc -%{summary}. - +%{?javadoc_package} %prep %setup -q @@ -88,10 +83,8 @@ done %mvn_install %files -f .mfiles -%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt - -%files javadoc -f .mfiles-javadoc -%doc LICENSE.txt NOTICE.txt +%license LICENSE.txt NOTICE.txt +%doc README.txt RELEASE_NOTES.txt %changelog * Fri May 24 2019 Mikolaj Izdebski - 4.4.11-2 From 1def138570971a332c0c9b59764a6107cbe3066e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 28 Jun 2019 11:02:05 +0200 Subject: [PATCH 07/13] Declare module package --- httpcomponents-core.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 94329c6..0d0470a 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -32,6 +32,7 @@ appropriate for high latency scenarios where raw data throughput is less important than the ability to handle thousands of simultaneous HTTP connections in a resource efficient manner. +%{?module_package} %{?javadoc_package} %prep @@ -82,7 +83,7 @@ done %install %mvn_install -%files -f .mfiles +%files -n %{?module_prefix}%{name} -f .mfiles %license LICENSE.txt NOTICE.txt %doc README.txt RELEASE_NOTES.txt From 7f9d4cb7f7a8531fb77193a735cbabf7b7d26d61 Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Mon, 16 Sep 2019 13:18:04 +0200 Subject: [PATCH 08/13] Update to upstream version 4.4.12 --- .gitignore | 1 + httpcomponents-core.spec | 9 +++++---- sources | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index dc5b932..8ddae2b 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ httpcomponents-core-4.1.4-src.tar.gz /httpcomponents-core-4.4.9-src.tar.gz /httpcomponents-core-4.4.10-src.tar.gz /httpcomponents-core-4.4.11-src.tar.gz +/httpcomponents-core-4.4.12-src.tar.gz diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 0d0470a..e8689d9 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,7 +1,7 @@ Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services -Version: 4.4.11 -Release: 2%{?dist} +Version: 4.4.12 +Release: 1%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz @@ -12,13 +12,11 @@ BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(commons-logging:commons-logging) BuildRequires: mvn(junit:junit) -BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.httpcomponents:httpcomponents-parent:pom:) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.mockito:mockito-core) - %description HttpCore is a set of low level HTTP transport components that can be used to build custom client and server side HTTP services with a @@ -88,6 +86,9 @@ done %doc README.txt RELEASE_NOTES.txt %changelog +* Mon Sep 16 2019 Marian Koncek - 4.4.12-1 +- Update to upstream version 4.4.12 + * Fri May 24 2019 Mikolaj Izdebski - 4.4.11-2 - Mass rebuild for javapackages-tools 201901 diff --git a/sources b/sources index 045796c..3808e9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpcomponents-core-4.4.11-src.tar.gz) = bc70f1c12df290b68afe0d29eba07edb5b9cda2fa1c6802fbb0d1e3906104ea6273caafbcdb9123c138db8236efa983b76d6708992d02e2690ad9a3c6e20b5f3 +SHA512 (httpcomponents-core-4.4.12-src.tar.gz) = 30eac1881973f4e6a48b53e3ff69bbd6990344ea0d5f86ab953042058d1f0f0fdc96280ea668a6839b5e66b4b045140aca7cc88b240b568d9823a21fb23dd432 From 8bdac8fdc77154bf313fb25521e80ee56dfdcdc5 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 5 Nov 2019 17:29:27 +0100 Subject: [PATCH 09/13] Mass rebuild for javapackages-tools 201902 --- httpcomponents-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index e8689d9..cfe5adf 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,7 +1,7 @@ Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services Version: 4.4.12 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz @@ -86,6 +86,9 @@ done %doc README.txt RELEASE_NOTES.txt %changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 4.4.12-2 +- Mass rebuild for javapackages-tools 201902 + * Mon Sep 16 2019 Marian Koncek - 4.4.12-1 - Update to upstream version 4.4.12 From 0615f053d5f395eca93da420117bca99295712fc Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Wed, 22 Jan 2020 13:18:55 +0100 Subject: [PATCH 10/13] Update to upstream version 4.4.13 --- .gitignore | 1 + httpcomponents-core.spec | 13 ++++++++++--- sources | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8ddae2b..5faa734 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ httpcomponents-core-4.1.4-src.tar.gz /httpcomponents-core-4.4.10-src.tar.gz /httpcomponents-core-4.4.11-src.tar.gz /httpcomponents-core-4.4.12-src.tar.gz +/httpcomponents-core-4.4.13-src.tar.gz diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index cfe5adf..211df5d 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,10 +1,10 @@ Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services -Version: 4.4.12 -Release: 2%{?dist} +Version: 4.4.13 +Release: 1%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ -Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz +Source0: https://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz Patch0: 0001-Port-to-mockito-2.patch BuildArch: noarch @@ -46,6 +46,10 @@ sed -i '/Thread.sleep/s/100/2000/' httpcore-nio/src/test/java/org/apache/http/ni %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin +# We don't have conscrypt for testing +%pom_remove_dep :conscrypt-openjdk-uber httpcore-nio +rm httpcore-nio/src/test/java/org/apache/http/nio/integration/TestJSSEProviderIntegration.java + # we don't need these artifacts right now %pom_disable_module httpcore-osgi %pom_disable_module httpcore-ab @@ -86,6 +90,9 @@ done %doc README.txt RELEASE_NOTES.txt %changelog +* Wed Jan 22 2020 Marian Koncek - 4.4.13-1 +- Update to upstream version 4.4.13 + * Tue Nov 05 2019 Mikolaj Izdebski - 4.4.12-2 - Mass rebuild for javapackages-tools 201902 diff --git a/sources b/sources index 3808e9e..64dfa77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpcomponents-core-4.4.12-src.tar.gz) = 30eac1881973f4e6a48b53e3ff69bbd6990344ea0d5f86ab953042058d1f0f0fdc96280ea668a6839b5e66b4b045140aca7cc88b240b568d9823a21fb23dd432 +SHA512 (httpcomponents-core-4.4.13-src.tar.gz) = 7a752363a090e6f6de30fea295f7b59d268059b3e3ef5164de8f88c6ef02215c2f653154f4567d52fd91eaf832564f784f5365b6ba8a342fce8222439dfa7c74 From 210a1c0d29c3d246d488fe1f730ce340b509acfa Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sat, 25 Jan 2020 14:40:08 +0100 Subject: [PATCH 11/13] Build with OpenJDK 8 --- httpcomponents-core.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 211df5d..e8d9d77 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,7 +1,7 @@ Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services Version: 4.4.13 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: https://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz @@ -9,7 +9,7 @@ Patch0: 0001-Port-to-mockito-2.patch BuildArch: noarch -BuildRequires: maven-local +BuildRequires: maven-local-openjdk8 BuildRequires: mvn(commons-logging:commons-logging) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) @@ -90,6 +90,9 @@ done %doc README.txt RELEASE_NOTES.txt %changelog +* Sat Jan 25 2020 Mikolaj Izdebski - 4.4.13-2 +- Build with OpenJDK 8 + * Wed Jan 22 2020 Marian Koncek - 4.4.13-1 - Update to upstream version 4.4.13 From c8c1c93eee4c25f705249e3a7b717f5c50b58a4d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 16 Apr 2021 15:33:12 +0200 Subject: [PATCH 12/13] Conditionalize buildrequires in bootstrap mode --- httpcomponents-core.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index e8d9d77..123ab3f 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services Version: 4.4.13 @@ -10,12 +12,16 @@ Patch0: 0001-Port-to-mockito-2.patch BuildArch: noarch BuildRequires: maven-local-openjdk8 +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(commons-logging:commons-logging) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.httpcomponents:httpcomponents-parent:pom:) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.mockito:mockito-core) +%endif %description HttpCore is a set of low level HTTP transport components that can be From bcaa3bcba007808f89a06ccc5e3e6dd75127a759 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 13 May 2021 19:08:42 +0200 Subject: [PATCH 13/13] Turn off bootstrap mode by default --- httpcomponents-core.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 123ab3f..6962aec 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,4 +1,4 @@ -%bcond_without bootstrap +%bcond_with bootstrap Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services