diff -Nru httpcomponents-asyncclient-4.1.3/debian/changelog httpcomponents-asyncclient-4.1.4/debian/changelog --- httpcomponents-asyncclient-4.1.3/debian/changelog 2017-06-19 14:18:40.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/debian/changelog 2018-10-19 13:23:55.000000000 +0000 @@ -1,3 +1,13 @@ +httpcomponents-asyncclient (4.1.4-1) unstable; urgency=medium + + * Team upload. + * New upstream release + * Standards-Version updated to 4.2.1 + * Switch to debhelper level 11 + * Use salsa.debian.org Vcs-* URLs + + -- Emmanuel Bourg Fri, 19 Oct 2018 15:23:55 +0200 + httpcomponents-asyncclient (4.1.3-1) unstable; urgency=medium * Team upload. diff -Nru httpcomponents-asyncclient-4.1.3/debian/compat httpcomponents-asyncclient-4.1.4/debian/compat --- httpcomponents-asyncclient-4.1.3/debian/compat 2017-06-19 14:17:55.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/debian/compat 2018-09-20 16:20:01.000000000 +0000 @@ -1 +1 @@ -10 +11 diff -Nru httpcomponents-asyncclient-4.1.3/debian/control httpcomponents-asyncclient-4.1.4/debian/control --- httpcomponents-asyncclient-4.1.3/debian/control 2017-06-19 14:17:55.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/debian/control 2018-09-20 16:20:01.000000000 +0000 @@ -3,19 +3,20 @@ Priority: optional Maintainer: Debian Java Maintainers Uploaders: Emmanuel Bourg -Build-Depends: debhelper (>= 10), - default-jdk, - junit4, - libbuild-helper-maven-plugin-java, - libcommons-io-java, - libcommons-logging-java, - libhttpclient-java, - libhttpcore-java, - libmockito-java, - maven-debian-helper (>= 2.0) -Standards-Version: 3.9.8 -Vcs-Git: https://anonscm.debian.org/git/pkg-java/httpcomponents-asyncclient.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/httpcomponents-asyncclient.git +Build-Depends: + debhelper (>= 11), + default-jdk, + junit4, + libbuild-helper-maven-plugin-java, + libcommons-io-java, + libcommons-logging-java, + libhttpclient-java, + libhttpcore-java, + libmockito-java, + maven-debian-helper (>= 2.0) +Standards-Version: 4.2.1 +Vcs-Git: https://salsa.debian.org/java-team/httpcomponents-asyncclient.git +Vcs-Browser: https://salsa.debian.org/java-team/httpcomponents-asyncclient Homepage: http://hc.apache.org/httpcomponents-asyncclient-dev Package: libhttpasyncclient-java diff -Nru httpcomponents-asyncclient-4.1.3/debian/rules httpcomponents-asyncclient-4.1.4/debian/rules --- httpcomponents-asyncclient-4.1.3/debian/rules 2017-06-19 14:17:55.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/debian/rules 2018-09-20 16:20:01.000000000 +0000 @@ -2,6 +2,3 @@ %: dh $@ - -get-orig-source: - uscan --download-current-version --force-download --no-symlink diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/pom.xml httpcomponents-asyncclient-4.1.4/httpasyncclient/pom.xml --- httpcomponents-asyncclient-4.1.3/httpasyncclient/pom.xml 2017-02-05 13:29:28.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/pom.xml 2018-07-09 12:57:45.000000000 +0000 @@ -28,7 +28,7 @@ org.apache.httpcomponents httpcomponents-asyncclient - 4.1.3 + 4.1.4 httpasyncclient Apache HttpAsyncClient @@ -106,6 +106,27 @@ + + org.apache.maven.plugins + maven-jar-plugin + + + default-jar + package + + jar + + + + + org.apache.httpcomponents.httpasyncclient + + + + + + + diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/examples/org/apache/http/examples/nio/client/QuickStart.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/examples/org/apache/http/examples/nio/client/QuickStart.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/examples/org/apache/http/examples/nio/client/QuickStart.java 2014-10-10 19:48:55.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/examples/org/apache/http/examples/nio/client/QuickStart.java 2017-09-25 13:15:03.000000000 +0000 @@ -117,19 +117,19 @@ @Override public void completed(final HttpResponse response3) { latch2.countDown(); - System.out.println(request2.getRequestLine() + "->" + response3.getStatusLine()); + System.out.println(request3.getRequestLine() + "->" + response3.getStatusLine()); } @Override public void failed(final Exception ex) { latch2.countDown(); - System.out.println(request2.getRequestLine() + "->" + ex); + System.out.println(request3.getRequestLine() + "->" + ex); } @Override public void cancelled() { latch2.countDown(); - System.out.println(request2.getRequestLine() + " cancelled"); + System.out.println(request3.getRequestLine() + " cancelled"); } }); diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java 2016-06-11 14:23:29.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java 2017-02-23 15:12:08.000000000 +0000 @@ -80,6 +80,7 @@ import org.apache.http.impl.client.DefaultRedirectStrategy; import org.apache.http.impl.client.NoopUserTokenHandler; import org.apache.http.impl.client.ProxyAuthenticationStrategy; +import org.apache.http.impl.client.SystemDefaultCredentialsProvider; import org.apache.http.impl.client.TargetAuthenticationStrategy; import org.apache.http.impl.conn.DefaultProxyRoutePlanner; import org.apache.http.impl.conn.DefaultRoutePlanner; @@ -831,9 +832,12 @@ CredentialsProvider defaultCredentialsProvider = this.credentialsProvider; if (defaultCredentialsProvider == null) { - defaultCredentialsProvider = new BasicCredentialsProvider(); + if (systemProperties) { + defaultCredentialsProvider = new SystemDefaultCredentialsProvider(); + } else { + defaultCredentialsProvider = new BasicCredentialsProvider(); + } } - RedirectStrategy redirectStrategy = this.redirectStrategy; if (redirectStrategy == null) { redirectStrategy = DefaultRedirectStrategy.INSTANCE; diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/MainClientExec.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/MainClientExec.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/MainClientExec.java 2017-02-05 12:25:39.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/MainClientExec.java 2018-03-28 07:55:01.000000000 +0000 @@ -580,7 +580,7 @@ } } if (config.isRedirectsEnabled()) { - final HttpRequest currentRequest = handler.getCurrentRequest(); + final HttpRequestWrapper currentRequest = handler.getCurrentRequest(); final HttpResponse currentResponse = handler.getCurrentResponse(); if (this.redirectStrategy.isRedirected(currentRequest, currentResponse, localContext)) { final int maxRedirects = config.getMaxRedirects() >= 0 ? config.getMaxRedirects() : 100; @@ -588,7 +588,7 @@ throw new RedirectException("Maximum redirects (" + maxRedirects + ") exceeded"); } state.incrementRedirectCount(); - final HttpUriRequest redirect = this.redirectStrategy.getRedirect(currentRequest, currentResponse, + final HttpUriRequest redirect = this.redirectStrategy.getRedirect(currentRequest.getOriginal(), currentResponse, localContext); state.setRedirect(redirect); return true; diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java 2017-01-28 13:40:25.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java 2018-05-18 11:51:00.000000000 +0000 @@ -118,7 +118,7 @@ public PoolingNHttpClientConnectionManager( final ConnectingIOReactor ioreactor, final Registry iosessionFactoryRegistry) { - this(ioreactor, null, iosessionFactoryRegistry, null); + this(ioreactor, null, iosessionFactoryRegistry, (DnsResolver) null); } public PoolingNHttpClientConnectionManager( @@ -130,15 +130,22 @@ public PoolingNHttpClientConnectionManager( final ConnectingIOReactor ioreactor, + final NHttpConnectionFactory connFactory, + final SocketAddressResolver socketAddressResolver) { + this(ioreactor, connFactory, getDefaultRegistry(), socketAddressResolver); + } + + public PoolingNHttpClientConnectionManager( + final ConnectingIOReactor ioreactor, final NHttpConnectionFactory connFactory) { - this(ioreactor, connFactory, getDefaultRegistry(), null); + this(ioreactor, connFactory, getDefaultRegistry(), (DnsResolver) null); } public PoolingNHttpClientConnectionManager( final ConnectingIOReactor ioreactor, final NHttpConnectionFactory connFactory, final Registry iosessionFactoryRegistry) { - this(ioreactor, connFactory, iosessionFactoryRegistry, null); + this(ioreactor, connFactory, iosessionFactoryRegistry, (DnsResolver) null); } public PoolingNHttpClientConnectionManager( @@ -154,18 +161,38 @@ final ConnectingIOReactor ioreactor, final NHttpConnectionFactory connFactory, final Registry iosessionFactoryRegistry, + final SocketAddressResolver socketAddressResolver) { + this(ioreactor, connFactory, iosessionFactoryRegistry, socketAddressResolver, + -1, TimeUnit.MILLISECONDS); + } + + public PoolingNHttpClientConnectionManager( + final ConnectingIOReactor ioreactor, + final NHttpConnectionFactory connFactory, + final Registry iosessionFactoryRegistry, final SchemePortResolver schemePortResolver, final DnsResolver dnsResolver, final long timeToLive, final TimeUnit tunit) { + this(ioreactor, connFactory, iosessionFactoryRegistry, + new InternalAddressResolver(schemePortResolver, dnsResolver), timeToLive, tunit); + } + + public PoolingNHttpClientConnectionManager( + final ConnectingIOReactor ioreactor, + final NHttpConnectionFactory connFactory, + final Registry iosessionFactoryRegistry, + final SocketAddressResolver socketAddressResolver, + final long timeToLive, final TimeUnit tunit) { super(); Args.notNull(ioreactor, "I/O reactor"); Args.notNull(iosessionFactoryRegistry, "I/O session factory registry"); + Args.notNull(socketAddressResolver, "Socket address resolver"); this.ioreactor = ioreactor; this.configData = new ConfigData(); this.pool = new CPool(ioreactor, - new InternalConnectionFactory(this.configData, connFactory), - new InternalAddressResolver(schemePortResolver, dnsResolver), - 2, 20, timeToLive, tunit != null ? tunit : TimeUnit.MILLISECONDS); + new InternalConnectionFactory(this.configData, connFactory), + socketAddressResolver, + 2, 20, timeToLive, tunit != null ? tunit : TimeUnit.MILLISECONDS); this.iosessionFactoryRegistry = iosessionFactoryRegistry; } diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java 2016-08-28 12:35:59.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java 2018-03-12 05:22:39.000000000 +0000 @@ -37,6 +37,7 @@ import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpDelete; import org.apache.http.client.methods.HttpGet; +import org.apache.http.client.methods.HttpHead; import org.apache.http.client.methods.HttpOptions; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPut; @@ -112,7 +113,7 @@ * @return asynchronous request generator */ public static HttpAsyncRequestProducer createHead(final URI requestURI) { - return create(new HttpGet(requestURI)); + return create(new HttpHead(requestURI)); } /** @@ -122,7 +123,7 @@ * @return asynchronous request generator */ public static HttpAsyncRequestProducer createHead(final String requestURI) { - return create(new HttpGet(URI.create(requestURI))); + return create(new HttpHead(URI.create(requestURI))); } /** diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/java/org/apache/http/impl/nio/conn/TestPoolingHttpClientAsyncConnectionManager.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/java/org/apache/http/impl/nio/conn/TestPoolingHttpClientAsyncConnectionManager.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/java/org/apache/http/impl/nio/conn/TestPoolingHttpClientAsyncConnectionManager.java 2015-02-06 15:42:13.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/java/org/apache/http/impl/nio/conn/TestPoolingHttpClientAsyncConnectionManager.java 2017-09-15 10:00:31.000000000 +0000 @@ -29,6 +29,7 @@ import java.net.InetAddress; import java.net.InetSocketAddress; import java.util.Calendar; +import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; @@ -234,7 +235,7 @@ future.get(); } - @Test + @Test(expected = CancellationException.class) public void testRequestConnectionCancelled() throws Exception { final HttpHost target = new HttpHost("localhost"); final HttpRoute route = new HttpRoute(target); @@ -254,7 +255,7 @@ Assert.assertTrue(future.isDone()); Assert.assertTrue(future.isCancelled()); - Assert.assertNull(future.get()); + future.get(); } @Test diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java 2016-06-23 20:20:29.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java 2017-09-15 10:00:31.000000000 +0000 @@ -27,6 +27,7 @@ package org.apache.http.nio.client.integration; import java.io.IOException; +import java.util.concurrent.CancellationException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; @@ -382,7 +383,11 @@ }; final Future future = this.httpclient.execute(producer, consumer, null, null); - future.get(); + try { + future.get(); + Assert.fail("CancellationException expected"); + } catch (final CancellationException expected) { + } connMgr.shutdown(1000); diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java --- httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java 2014-10-10 19:48:55.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestRedirects.java 2018-03-28 07:55:01.000000000 +0000 @@ -40,6 +40,7 @@ import java.util.concurrent.TimeUnit; import org.apache.http.Header; +import org.apache.http.impl.client.DefaultRedirectStrategy; import org.apache.http.localserver.HttpAsyncTestBase; import org.apache.http.HttpException; import org.apache.http.HttpHost; @@ -269,6 +270,49 @@ } } + private static class DifferentHostRedirectService implements HttpRequestHandler { + + private final String schemeName; + private final int statusCode; + private int targetHostPort; + + public DifferentHostRedirectService(final String schemeName, final int statusCode) { + this.schemeName = schemeName; + this.statusCode = statusCode; + } + + @Override + public void handle(final HttpRequest request, final HttpResponse response, + final HttpContext context) throws HttpException, IOException { + + final ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); + final String uri = request.getRequestLine().getUri(); + if (uri.equals("/oldlocation/")) { + final String redirectUrl = + this.schemeName + "://localhost:" + targetHostPort + "/newlocation/"; + response.setStatusLine(ver, this.statusCode); + response.addHeader(new BasicHeader("Location", redirectUrl)); + response.addHeader(new BasicHeader("Connection", "close")); + } else if (uri.equals("/newlocation/")) { + final String hostHeaderValue = request.getFirstHeader("Host").getValue(); + + if (hostHeaderValue.equals("localhost:" + targetHostPort)) { + response.setStatusLine(ver, HttpStatus.SC_OK); + final StringEntity entity = new StringEntity("Successful redirect"); + response.setEntity(entity); + } else { + response.setStatusLine(ver, 421, "Misdirected Request"); + } + } else { + response.setStatusLine(ver, HttpStatus.SC_NOT_FOUND); + } + } + + public void setTargetHostPort(final int targetHostPort) { + this.targetHostPort = targetHostPort; + } + } + @Test public void testBasicRedirect300() throws Exception { this.serverBootstrap.registerHandler("*", new BasicAsyncRequestHandler( @@ -853,4 +897,43 @@ Assert.assertEquals(host, target); } -} \ No newline at end of file + @Test + public void testPostRedirectWithDifferentHost() throws Exception { + // do redirect for post requests + this.clientBuilder.setRedirectStrategy(new DefaultRedirectStrategy() { + @Override + public boolean isRedirected(final HttpRequest request, final HttpResponse response, + final HttpContext context) + throws ProtocolException { + // allow 307 redirect for all methods + return super.isRedirected(request, response, context) + || response.getStatusLine().getStatusCode() == HttpStatus.SC_TEMPORARY_REDIRECT; + } + }); + + final DifferentHostRedirectService differentHostRequestHandler = new DifferentHostRedirectService( + getSchemeName(), HttpStatus.SC_TEMPORARY_REDIRECT); + + this.serverBootstrap.registerHandler("*", + new BasicAsyncRequestHandler(differentHostRequestHandler)); + final HttpHost originalHost = start(); // to start the original host and build the client + final HttpHost targetHost = startServer(); // to start the target host + + differentHostRequestHandler.setTargetHostPort(targetHost.getPort()); + + final HttpClientContext context = HttpClientContext.create(); + + final HttpPost httpPost = new HttpPost("/oldlocation/"); + + final Future future = this.httpclient.execute(originalHost, httpPost, context, null); + final HttpResponse response = future.get(); + Assert.assertNotNull(response); + + final HttpRequest reqWrapper = context.getRequest(); + final HttpHost host = context.getTargetHost(); + + Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); + Assert.assertEquals("/newlocation/", reqWrapper.getRequestLine().getUri()); + Assert.assertEquals(targetHost, host); + } +} Binary files /tmp/tmpAPb0E1/mKy0tBnjQo/httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/resources/test-DSA-1024.keystore and /tmp/tmpAPb0E1/fLzBMAS3Ex/httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/resources/test-DSA-1024.keystore differ Binary files /tmp/tmpAPb0E1/mKy0tBnjQo/httpcomponents-asyncclient-4.1.3/httpasyncclient/src/test/resources/test.keystore and /tmp/tmpAPb0E1/fLzBMAS3Ex/httpcomponents-asyncclient-4.1.4/httpasyncclient/src/test/resources/test.keystore differ diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient-cache/pom.xml httpcomponents-asyncclient-4.1.4/httpasyncclient-cache/pom.xml --- httpcomponents-asyncclient-4.1.3/httpasyncclient-cache/pom.xml 2017-02-05 13:29:28.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient-cache/pom.xml 2018-07-09 12:57:45.000000000 +0000 @@ -28,7 +28,7 @@ org.apache.httpcomponents httpcomponents-asyncclient - 4.1.3 + 4.1.4 httpasyncclient-cache Apache HttpAsyncClient Cache @@ -88,6 +88,28 @@ + + + org.apache.maven.plugins + maven-jar-plugin + + + default-jar + package + + jar + + + + + org.apache.httpcomponents.httpasyncclient.cache + + + + + + + diff -Nru httpcomponents-asyncclient-4.1.3/httpasyncclient-osgi/pom.xml httpcomponents-asyncclient-4.1.4/httpasyncclient-osgi/pom.xml --- httpcomponents-asyncclient-4.1.3/httpasyncclient-osgi/pom.xml 2017-02-05 13:29:28.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/httpasyncclient-osgi/pom.xml 2018-07-09 12:57:45.000000000 +0000 @@ -28,7 +28,7 @@ org.apache.httpcomponents httpcomponents-asyncclient - 4.1.3 + 4.1.4 httpasyncclient-osgi Apache HttpAsyncClient OSGi bundle @@ -41,7 +41,7 @@ "[4.4.0, 4.5.0)" "[4.5.0, 4.6.0)" - "[1.1.0, 1.2.0)" + "[1.1.0, 1.3.0)" diff -Nru httpcomponents-asyncclient-4.1.3/pom.xml httpcomponents-asyncclient-4.1.4/pom.xml --- httpcomponents-asyncclient-4.1.3/pom.xml 2017-02-05 13:29:28.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/pom.xml 2018-07-09 12:57:45.000000000 +0000 @@ -33,7 +33,7 @@ 4.0.0 httpcomponents-asyncclient Apache HttpComponents AsyncClient - 4.1.3 + 4.1.4 Apache components to build asynchronous client side HTTP services http://hc.apache.org/httpcomponents-asyncclient 2010 @@ -47,7 +47,7 @@ Apache License, Version 2.0 - LICENSE.txt + http://www.apache.org/licenses/LICENSE-2.0.txt repo @@ -58,16 +58,16 @@ - scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/tags/4.1.3 - scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/tags/4.1.3 - https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/tags/4.1.3 + scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x + scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x + https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x 1.6 1.6 - 4.4.6 - 4.5.3 + 4.4.10 + 4.5.6 1.2 2.4 4.11 diff -Nru httpcomponents-asyncclient-4.1.3/RELEASE_NOTES.txt httpcomponents-asyncclient-4.1.4/RELEASE_NOTES.txt --- httpcomponents-asyncclient-4.1.3/RELEASE_NOTES.txt 2017-02-05 13:26:15.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/RELEASE_NOTES.txt 2018-07-09 12:48:38.000000000 +0000 @@ -1,8 +1,37 @@ -Release 4.1.3 +Release 4.1.4 +------------------- + +This is a maintenance release that adds Automatic-Module-Name to the manifest for compatibility +with Java 9 Platform Module System and fixes a number of issues discovered since 4.1.3 + + +Changelog ------------------- -This is a maintenance release that fixes a number of minor issues discovered since 4.1.2 and upgrades -HttpCore and HttpClient dependencies. +* Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library. + Contributed by Oleg Kalnichevski + +* Upgraded HttpCore dependency to version 4.4.10; upgraded HttpClient dependency to version 4.5.6. + Contributed by Oleg Kalnichevski + +* Pass the original request as a parameter to the redirect handler. + Contributed by Oleg Kalnichevski + +* [HTTPASYNC-135] HttpAsyncMethods.createHead() methods creates HttpGet objects. + Contributed by Mateusz Matela + +* [HTTPASYNC-136]: Failing tests on Fedora 28 due to weak encryption algorithms in test keystore. + Contributed by Gary Gregory and Michael Simacek + +* [HTTPASYNC-126] Increase range of commons-logging in OSGI manifest + +* [HTTPASYNC-118] HttpAsyncClientBuilder to use SystemDefaultCredentialsProvider by default when configured + to use system properties. + Contributed by Oleg Kalnichevski + + +Release 4.1.3 +------------------- Changelog ------------------- diff -Nru httpcomponents-asyncclient-4.1.3/.travis.yml httpcomponents-asyncclient-4.1.4/.travis.yml --- httpcomponents-asyncclient-4.1.3/.travis.yml 1970-01-01 00:00:00.000000000 +0000 +++ httpcomponents-asyncclient-4.1.4/.travis.yml 2018-03-27 13:01:47.000000000 +0000 @@ -0,0 +1,24 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +language: java +sudo: false + +jdk: + - openjdk7 + - oraclejdk8 + +after_success: + - mvn clean cobertura:cobertura coveralls:report