httpcomponents-core.git
14 months agoHttpCore 4.4.8 release 4.4.8 4.4.8-RC1
Gary Gregory [Fri, 29 Sep 2017 14:20:18 +0000 (08:20 -0600)] 
HttpCore 4.4.8 release

14 months agoUpdated release notes for Release 4.4.8.
Gary Gregory [Thu, 28 Sep 2017 18:53:08 +0000 (12:53 -0600)] 
Updated release notes for Release 4.4.8.

14 months agoMake org.apache.http.nio.protocol.ErrorResponseProducer public.
Gary Gregory [Thu, 28 Sep 2017 16:43:51 +0000 (10:43 -0600)] 
Make org.apache.http.nio.protocol.ErrorResponseProducer public.

14 months agoMake responseFactory available to subclasses.
Gary Gregory [Wed, 27 Sep 2017 20:48:43 +0000 (14:48 -0600)] 
Make responseFactory available to subclasses.

14 months agoDrop oraclejdk7 from the Travis-CI build
Oleg Kalnichevski [Wed, 27 Sep 2017 15:55:24 +0000 (17:55 +0200)] 
Drop oraclejdk7 from the Travis-CI build

14 months agoHTTPCORE-491 Make BasicAsyncRequest|ResponseConsumer more paranoid
Michael Heemskerk [Wed, 27 Sep 2017 14:00:30 +0000 (16:00 +0200)] 
HTTPCORE-491 Make BasicAsyncRequest|ResponseConsumer more paranoid

BasicAsyncRequestConsumer and BasicAsyncResponseConsumer used to
blindly pre-allocate a buffer of Content-Length. If the request / response
is crafted to have a very large Content-Length header, this can result in
OutOfMemoryErrors.

This limits the initial buffer size to 256kb, while still allowing the
buffer to grow if a larger message is read.

14 months agoInherit plugin version.
Gary Gregory [Sun, 24 Sep 2017 18:47:43 +0000 (12:47 -0600)] 
Inherit plugin version.

14 months agoLet this POM inherit the maven-jar-plugin from a parent, which will be
Gary Gregory [Sun, 24 Sep 2017 16:48:21 +0000 (10:48 -0600)] 
Let this POM inherit the maven-jar-plugin from a parent, which will be
3.0.2 instead of 2.6, which in turn avoids maven-jar-plugin 2.6 failing
on Java 9.

14 months agoUpdate httpcomponents-parent from 8 to 9. 'mvn clean install' and 'mvn
Gary Gregory [Sun, 24 Sep 2017 15:53:34 +0000 (09:53 -0600)] 
Update httpcomponents-parent from 8 to 9. 'mvn clean install' and 'mvn
site' OK.

14 months agoHTTPCORE-490: session requests do not get cancelled correctly if the associated HTTP...
Oleg Kalnichevski [Tue, 19 Sep 2017 17:29:39 +0000 (19:29 +0200)] 
HTTPCORE-490: session requests do not get cancelled correctly if the associated HTTP response fututes get cancelled

14 months agoUpgraded HttpCore version to 4.4.8-SNAPSHOT
Oleg Kalnichevski [Wed, 13 Sep 2017 13:22:12 +0000 (15:22 +0200)] 
Upgraded HttpCore version to 4.4.8-SNAPSHOT

15 months agoHttpCore 4.4.7 release 4.4.7 4.4.7-RC1
Oleg Kalnichevski [Sun, 10 Sep 2017 13:12:58 +0000 (15:12 +0200)] 
HttpCore 4.4.7 release

15 months agoUpdated release notes for HttpCore 4.4.7 release
Oleg Kalnichevski [Sun, 10 Sep 2017 13:09:52 +0000 (15:09 +0200)] 
Updated release notes for HttpCore 4.4.7 release

15 months agoDocument how to switch to version 9 of the forthcoming parent POM.
Gary Gregory [Thu, 7 Sep 2017 16:06:38 +0000 (10:06 -0600)] 
Document how to switch to version 9 of the forthcoming parent POM.

15 months agoAccess static methods with the class that defines them, not a subclass.
Gary Gregory [Sat, 2 Sep 2017 20:05:08 +0000 (14:05 -0600)] 
Access static methods with the class that defines them, not a subclass.

15 months agoUse final.
Gary Gregory [Sat, 2 Sep 2017 15:43:00 +0000 (09:43 -0600)] 
Use final.

15 months ago[HTTPCORE-487] org.apache.http.nio.reactor.ssl.SSLIOSession and
Oleg Kalnichevski [Thu, 31 Aug 2017 14:21:41 +0000 (08:21 -0600)] 
[HTTPCORE-487] org.apache.http.nio.reactor.ssl.SSLIOSession and
SSLNHttpClientConnectionFactory do not always use the HTTP host setting.

15 months agoRemove unnecessary semicolons.
Gary Gregory [Wed, 30 Aug 2017 20:38:21 +0000 (14:38 -0600)] 
Remove unnecessary semicolons.

15 months agoHTTPCORE-485: Remove one buffer from SSLIOSession.java because it is not used.
Todor Bonchev [Fri, 25 Aug 2017 17:14:45 +0000 (19:14 +0200)] 
HTTPCORE-485: Remove one buffer from SSLIOSession.java because it is not used.

Currently for each remote connection we make an SSLIOSession.
Each SSLIOSession has 4 buffers:
private final SSLBuffer inEncrypted;
private final SSLBuffer outEncrypted;
private final SSLBuffer inPlain;
private final SSLBuffer outPlain;
And each of these buffers occupies 16K (64K per remote connection).
If an application uses NIO for long polling and there are (for example) 9000 idle long polling connections waiting for notifications.
This makes 9000 * 64K = 576 000K (576MB).
As outPlain buffer is not used if we remove it this will save 25% of the memory from the buffers used for the remote connections. In the example case this is 144MB.

15 months agoHTTPCORE-483: back-ported SSL session termination bug fix from 5.x
Oleg Kalnichevski [Fri, 25 Aug 2017 09:28:18 +0000 (11:28 +0200)] 
HTTPCORE-483: back-ported SSL session termination bug fix from 5.x

15 months agoAdd a meaning full exception message when a timeout occurs.
Gary Gregory [Thu, 17 Aug 2017 21:28:32 +0000 (15:28 -0600)] 
Add a meaning full exception message when a timeout occurs.

15 months agoDon't need to nest in an else clause.
Gary Gregory [Thu, 17 Aug 2017 21:38:32 +0000 (15:38 -0600)] 
Don't need to nest in an else clause.

15 months agoFixed a race condition in message exchange state synchronization during an expect...
Oleg Kalnichevski [Thu, 17 Aug 2017 19:20:06 +0000 (21:20 +0200)] 
Fixed a race condition in message exchange state synchronization during an expect-continue handshake

15 months ago[HTTPCORE-482] org.apache.http.nio.protocol.HttpAsyncService does
Gary Gregory [Wed, 16 Aug 2017 22:54:24 +0000 (16:54 -0600)] 
[HTTPCORE-482] org.apache.http.nio.protocol.HttpAsyncService does
returns an empty response when a socket timeout is detected

16 months agoUpgraded parent project to version 8
Oleg Kalnichevski [Fri, 11 Aug 2017 15:46:50 +0000 (17:46 +0200)] 
Upgraded parent project to version 8

16 months agoHTTPCORE-481: async request executor to treat non-error (status >= 200 and status...
Oleg Kalnichevski [Fri, 11 Aug 2017 15:17:15 +0000 (17:17 +0200)] 
HTTPCORE-481: async request executor to treat non-error (status >= 200 and status < 400) out of sequence responses as valid

17 months agoHTTPCORE-475: Elemental Reverse Proxy example to handle stale outgoing connections...
Oleg Kalnichevski [Mon, 3 Jul 2017 17:07:24 +0000 (19:07 +0200)] 
HTTPCORE-475: Elemental Reverse Proxy example to handle stale outgoing connections more gracefully

17 months agoHTTPCORE-475: minor improvements in the classic i/o reverse proxy example
Oleg Kalnichevski [Sun, 2 Jul 2017 18:45:00 +0000 (20:45 +0200)] 
HTTPCORE-475: minor improvements in the classic i/o reverse proxy example

17 months agoHTTPCORE-473: fixed classic i/o reverse proxy example
Oleg Kalnichevski [Sat, 24 Jun 2017 16:28:43 +0000 (18:28 +0200)] 
HTTPCORE-473: fixed classic i/o reverse proxy example

17 months agoHTTPCORE-472: Fixed problem with blocking message parsers incorrectly throwing "Maxim...
Oleg Kalnichevski [Thu, 15 Jun 2017 11:30:24 +0000 (13:30 +0200)] 
HTTPCORE-472: Fixed problem with blocking message parsers incorrectly throwing "Maximum line length limit exceeded" exception in some corner cases

18 months ago[HTTPCORE-470] Add a org.apache.http.nio.protocol.NullRequestHandler
Gary Gregory [Wed, 24 May 2017 07:18:54 +0000 (00:18 -0700)] 
[HTTPCORE-470] Add a org.apache.http.nio.protocol.NullRequestHandler
singleton.

18 months agoFormat tweak: Add missing blank lines.
Gary Gregory [Fri, 19 May 2017 18:57:19 +0000 (11:57 -0700)] 
Format tweak: Add missing blank lines.

18 months agoFix typo in example.
Gary Gregory [Fri, 19 May 2017 00:05:18 +0000 (17:05 -0700)] 
Fix typo in example.

18 months agoLine ending normalization
Oleg Kalnichevski [Thu, 18 May 2017 08:05:04 +0000 (10:05 +0200)] 
Line ending normalization

18 months agoSet NoOpLog for unit and integration tests
Oleg Kalnichevski [Thu, 18 May 2017 07:55:10 +0000 (09:55 +0200)] 
Set NoOpLog for unit and integration tests

18 months ago[HTTPCORE-468]
Gary Gregory [Tue, 16 May 2017 09:14:23 +0000 (02:14 -0700)] 
[HTTPCORE-468]

Allow HttpAsyncService subclasses to customize the HTTP status code.

18 months ago[HTTPCORE-466] Round out the SslContextBuilder by adding missing APIs.
Gary Gregory [Mon, 15 May 2017 18:01:58 +0000 (11:01 -0700)] 
[HTTPCORE-466] Round out the SslContextBuilder by adding missing APIs.

19 months agoUpdated repository details in POM
Oleg Kalnichevski [Fri, 12 May 2017 09:05:29 +0000 (11:05 +0200)] 
Updated repository details in POM

19 months agoHTTPCORE-465: Update example NHttpReverseProxy to support SSL to origin servers which...
Gary D. Gregory [Tue, 9 May 2017 21:45:10 +0000 (21:45 +0000)] 
HTTPCORE-465: Update example NHttpReverseProxy to support SSL to origin servers which use self-signed certificates.

19 months agoLog that we loading the keystore and what we are serving where.
Gary D. Gregory [Tue, 9 May 2017 22:11:04 +0000 (22:11 +0000)] 
Log that we loading the keystore and what we are serving where.

19 months agoAdd toString() for debugging and logging.
Gary D. Gregory [Tue, 9 May 2017 22:05:41 +0000 (22:05 +0000)] 
Add toString() for debugging and logging.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794645 13f79535-47bb-0310-9956-ffa450edef68

19 months agoChange the example's hard-coded strings so that you can actually run it with SSL...
Gary D. Gregory [Tue, 9 May 2017 21:37:46 +0000 (21:37 +0000)] 
Change the example's hard-coded strings so that you can actually run it with SSL out of the box.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794638 13f79535-47bb-0310-9956-ffa450edef68

19 months agoAdd org.apache.http.ssl.SSLContextBuilder.toString() for debugging and logging.
Gary D. Gregory [Tue, 9 May 2017 02:48:30 +0000 (02:48 +0000)] 
Add org.apache.http.ssl.SSLContextBuilder.toString() for debugging and logging.

19 months agoUpdate tests from Mockito 1.8.5 to 1.10.19. Tests pass on Oracle Java 1.6.0_45 and...
Gary D. Gregory [Mon, 8 May 2017 20:59:01 +0000 (20:59 +0000)] 
Update tests from Mockito 1.8.5 to 1.10.19. Tests pass on Oracle Java 1.6.0_45 and Maven 3.0.5.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794462 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[HTTPCORE-464] org.apache.http.nio.protocol.HttpAsyncService does not always log...
Gary D. Gregory [Sun, 7 May 2017 16:45:59 +0000 (16:45 +0000)] 
[HTTPCORE-464] org.apache.http.nio.protocol.HttpAsyncService does not always log exceptions.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794222 13f79535-47bb-0310-9956-ffa450edef68

19 months agoAdd toString() method.
Gary D. Gregory [Sat, 6 May 2017 19:18:09 +0000 (19:18 +0000)] 
Add toString() method.

19 months agoHTTPCORE-463: Fixed incorrect use of connect timeout setting in AbstractNIOConnPool
Oleg Kalnichevski [Sat, 6 May 2017 09:07:54 +0000 (09:07 +0000)] 
HTTPCORE-463: Fixed incorrect use of connect timeout setting in AbstractNIOConnPool

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794129 13f79535-47bb-0310-9956-ffa450edef68

19 months agoFormat tweak.
Gary D. Gregory [Fri, 5 May 2017 23:35:18 +0000 (23:35 +0000)] 
Format tweak.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794116 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-462: Deprecate SSLContextBuilder.useProtocol(String) in favor a new method...
Gary D. Gregory [Fri, 5 May 2017 21:17:59 +0000 (21:17 +0000)] 
HTTPCORE-462: Deprecate SSLContextBuilder.useProtocol(String) in favor a new method setProtocol(String). Local build OK.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794107 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-461: Add factory methods to DefaultHttpServerIODispatch to handle a null...
Gary D. Gregory [Thu, 4 May 2017 22:42:10 +0000 (22:42 +0000)] 
HTTPCORE-461: Add factory methods to DefaultHttpServerIODispatch to handle a null SSLContext.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1793919 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-460: Add factory methods to DefaultHttpClientIODispatch to handle a null...
Gary D. Gregory [Thu, 4 May 2017 22:41:22 +0000 (22:41 +0000)] 
HTTPCORE-460: Add factory methods to DefaultHttpClientIODispatch to handle a null SSLContext.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1793918 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[HTTPCORE-450] Add a Provider parameter in SSLContextBuilder. Add SSLContextBuilder...
Gary D. Gregory [Thu, 4 May 2017 22:30:05 +0000 (22:30 +0000)] 
[HTTPCORE-450] Add a Provider parameter in SSLContextBuilder. Add SSLContextBuilder.setProvider(String).

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1793914 13f79535-47bb-0310-9956-ffa450edef68

19 months agoRename variables "sslcontext" to "sslContext".
Gary D. Gregory [Thu, 4 May 2017 17:44:37 +0000 (17:44 +0000)] 
Rename variables "sslcontext" to "sslContext".

19 months agoJavadocs.
Gary D. Gregory [Thu, 4 May 2017 15:11:49 +0000 (15:11 +0000)] 
Javadocs.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1793820 13f79535-47bb-0310-9956-ffa450edef68

19 months agoFix parmeter names.
Gary D. Gregory [Thu, 4 May 2017 08:54:07 +0000 (08:54 +0000)] 
Fix parmeter names.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1793755 13f79535-47bb-0310-9956-ffa450edef68

19 months agoReplace @exception with the more modern @throws.
Gary D. Gregory [Tue, 25 Apr 2017 22:57:48 +0000 (22:57 +0000)] 
Replace @exception with the more modern @throws.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1792678 13f79535-47bb-0310-9956-ffa450edef68

19 months agoCamel-case lvar name.
Gary D. Gregory [Mon, 24 Apr 2017 21:39:36 +0000 (21:39 +0000)] 
Camel-case lvar name.

19 months agoJavaodc: Remove extra blank line.
Gary D. Gregory [Mon, 24 Apr 2017 20:06:10 +0000 (20:06 +0000)] 
Javaodc: Remove extra blank line.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1792542 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-455: fatal Error in an individual worker thread does not cause proper I...
Oleg Kalnichevski [Mon, 24 Apr 2017 18:10:17 +0000 (18:10 +0000)] 
HTTPCORE-455: fatal Error in an individual worker thread does not cause proper I/O reactor shutdown

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1792524 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-456: BasicFuture fails to honor Future interface contract by not throwing...
Oleg Kalnichevski [Mon, 24 Apr 2017 10:04:28 +0000 (10:04 +0000)] 
HTTPCORE-456: BasicFuture fails to honor Future interface contract by not throwing CancellationException when cancelled

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1792447 13f79535-47bb-0310-9956-ffa450edef68

19 months agoJavadoc.
Gary D. Gregory [Thu, 6 Apr 2017 20:59:58 +0000 (20:59 +0000)] 
Javadoc.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1790467 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[HTTPCORE-450] Add a Provider parameter in SSLContextBuilder.
Gary D. Gregory [Mon, 3 Apr 2017 22:13:57 +0000 (22:13 +0000)] 
[HTTPCORE-450] Add a Provider parameter in SSLContextBuilder.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1790053 13f79535-47bb-0310-9956-ffa450edef68

19 months agoAdd missing '@Override' annotations.
Gary D. Gregory [Sun, 26 Mar 2017 02:28:02 +0000 (02:28 +0000)] 
Add missing '@Override' annotations.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1788707 13f79535-47bb-0310-9956-ffa450edef68

19 months agoUse final.
Gary D. Gregory [Sun, 26 Mar 2017 02:26:35 +0000 (02:26 +0000)] 
Use final.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1788706 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-447: HttpHost#create does not throw IllegalArgumentException for empty string
Oleg Kalnichevski [Thu, 23 Feb 2017 13:22:39 +0000 (13:22 +0000)] 
HTTPCORE-447: HttpHost#create does not throw IllegalArgumentException for empty string

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1784126 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-446: fixed deadlock in AbstractConnPool shutdown code
Oleg Kalnichevski [Tue, 21 Feb 2017 20:00:33 +0000 (20:00 +0000)] 
HTTPCORE-446: fixed deadlock in AbstractConnPool shutdown code

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1783929 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPASYNC-116: Remove cancelled lease requests from the request queue when validating...
Oleg Kalnichevski [Sat, 28 Jan 2017 10:34:41 +0000 (10:34 +0000)] 
HTTPASYNC-116: Remove cancelled lease requests from the request queue when validating pending requests

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1780653 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCLIENT-1808: Fixing potential overflow for connection TTL
Oleg Kalnichevski [Sat, 28 Jan 2017 09:50:13 +0000 (09:50 +0000)] 
HTTPCLIENT-1808: Fixing potential overflow for connection TTL
Contributed by Andrew Shore <shorea at amazon.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1780648 13f79535-47bb-0310-9956-ffa450edef68

19 months agoHTTPCORE-442: Non-blocking SSL sessions fail to decrypt buffered input data in some...
Oleg Kalnichevski [Mon, 23 Jan 2017 19:59:46 +0000 (19:59 +0000)] 
HTTPCORE-442: Non-blocking SSL sessions fail to decrypt buffered input data in some cases if closed by the opposite endpoint

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1779966 13f79535-47bb-0310-9956-ffa450edef68

19 months agoRefactor magic number.
Gary D. Gregory [Wed, 11 Jan 2017 23:44:17 +0000 (23:44 +0000)] 
Refactor magic number.

23 months agoUpgraded HttpCore version to 4.4.7-SNAPSHOT
Oleg Kalnichevski [Wed, 11 Jan 2017 09:07:14 +0000 (09:07 +0000)] 
Upgraded HttpCore version to 4.4.7-SNAPSHOT

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1778258 13f79535-47bb-0310-9956-ffa450edef68

23 months agoUpdated NOTICE
Oleg Kalnichevski [Sat, 7 Jan 2017 13:35:58 +0000 (13:35 +0000)] 
Updated NOTICE

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1777787 13f79535-47bb-0310-9956-ffa450edef68

23 months agoUpdated release notes for HttpCore 4.4.6 release
Oleg Kalnichevski [Sat, 7 Jan 2017 13:22:30 +0000 (13:22 +0000)] 
Updated release notes for HttpCore 4.4.6 release

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1777784 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd Travis CI.
Gary D. Gregory [Mon, 5 Dec 2016 20:22:41 +0000 (20:22 +0000)] 
Add Travis CI.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1772787 13f79535-47bb-0310-9956-ffa450edef68

2 years agoUpdate RAT plugin from 0.11 to 0.12 and centralize settings.
Gary D. Gregory [Mon, 5 Dec 2016 20:22:27 +0000 (20:22 +0000)] 
Update RAT plugin from 0.11 to 0.12 and centralize settings.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1772786 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-438: added protected #getContentType method to AbstractAsyncResponseConsumer...
Oleg Kalnichevski [Sun, 4 Dec 2016 14:31:10 +0000 (14:31 +0000)] 
HTTPCORE-438: added protected #getContentType method to AbstractAsyncResponseConsumer for customization of Content-Type parsing / inference logic

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1772539 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-429: NIO connection pool incorrectly reports the number of pending connectio...
Oleg Kalnichevski [Fri, 2 Dec 2016 18:53:51 +0000 (18:53 +0000)] 
HTTPCORE-429: NIO connection pool incorrectly reports the number of pending connections per individual route

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1772395 13f79535-47bb-0310-9956-ffa450edef68

2 years agoFixed possible connection leak due to cancellation of connection requests
Oleg Kalnichevski [Fri, 2 Dec 2016 18:53:34 +0000 (18:53 +0000)] 
Fixed possible connection leak due to cancellation of connection requests

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1772394 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-433: moved expensive connection validation code outside the pool lock
Oleg Kalnichevski [Tue, 22 Nov 2016 20:30:32 +0000 (20:30 +0000)] 
HTTPCORE-433: moved expensive connection validation code outside the pool lock

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1770883 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-433: redesign of connection request future used by blocking AbstractConnPool
Oleg Kalnichevski [Tue, 22 Nov 2016 19:46:29 +0000 (19:46 +0000)] 
HTTPCORE-433: redesign of connection request future used by blocking AbstractConnPool

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1770878 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-435: ConnectionConfig#copy() does not copy every field
Oleg Kalnichevski [Sat, 15 Oct 2016 19:11:09 +0000 (19:11 +0000)] 
HTTPCORE-435: ConnectionConfig#copy() does not copy every field
Contributed by Clement Pellerin <clement_pellerin at ibi.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1765101 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-434: Handling of HEAD responses without payload headers
Oleg Kalnichevski [Sat, 8 Oct 2016 11:11:09 +0000 (11:11 +0000)] 
HTTPCORE-434: Handling of HEAD responses without payload headers

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1763889 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-431: correct character encoding default for application/json
Oleg Kalnichevski [Mon, 5 Sep 2016 18:55:04 +0000 (18:55 +0000)] 
HTTPCORE-431: correct character encoding default for application/json

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1759344 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-428: SSLIOSession#close to handle CancelledKeyException
Oleg Kalnichevski [Sat, 23 Jul 2016 13:11:13 +0000 (13:11 +0000)] 
HTTPCORE-428: SSLIOSession#close to handle CancelledKeyException

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1753869 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-427: SSL i/o sessions to use a finite timeout for SSL shutdown handshake...
Oleg Kalnichevski [Sat, 23 Jul 2016 10:57:06 +0000 (10:57 +0000)] 
HTTPCORE-427: SSL i/o sessions to use a finite timeout for SSL shutdown handshake when closing

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1753866 13f79535-47bb-0310-9956-ffa450edef68

2 years agoRemoved unnecessary null assignments
Oleg Kalnichevski [Sat, 23 Jul 2016 10:56:49 +0000 (10:56 +0000)] 
Removed unnecessary null assignments

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1753865 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd final modifier to local variables.
Gary D. Gregory [Thu, 23 Jun 2016 20:13:52 +0000 (20:13 +0000)] 
Add final modifier to local variables.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750010 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd final modifier to private fields.
Gary D. Gregory [Thu, 23 Jun 2016 20:13:00 +0000 (20:13 +0000)] 
Add final modifier to private fields.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750007 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd missing '@Override' annotations.
Gary D. Gregory [Thu, 23 Jun 2016 20:09:52 +0000 (20:09 +0000)] 
Add missing '@Override' annotations.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750003 13f79535-47bb-0310-9956-ffa450edef68

2 years agoorg.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2() was...
Gary D. Gregory [Thu, 23 Jun 2016 20:08:24 +0000 (20:08 +0000)] 
org.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2() was failing on Windows with Java 6 but was OK with Java 7 and 8.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750002 13f79535-47bb-0310-9956-ffa450edef68

2 years agoorg.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2() was...
Gary D. Gregory [Thu, 23 Jun 2016 20:08:15 +0000 (20:08 +0000)] 
org.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2() was failing on Windows with Java 6 but was OK with Java 7 and 8.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750001 13f79535-47bb-0310-9956-ffa450edef68

2 years agoorg.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2() was...
Gary D. Gregory [Thu, 23 Jun 2016 20:05:05 +0000 (20:05 +0000)] 
org.apache.http.ssl.TestSSLContextBuilder.testSSLHanskshakeProtocolMismatch2() was failing on Windows with Java 6 but was OK with Java 7 and 8.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750000 13f79535-47bb-0310-9956-ffa450edef68

2 years agoIgnore Eclipse .checkstyle file.
Gary D. Gregory [Thu, 23 Jun 2016 19:42:36 +0000 (19:42 +0000)] 
Ignore Eclipse .checkstyle file.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1749991 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd final modifier to local variables.
Gary D. Gregory [Thu, 23 Jun 2016 19:41:08 +0000 (19:41 +0000)] 
Add final modifier to local variables.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1749988 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd final modifier to local variables.
Gary D. Gregory [Thu, 23 Jun 2016 19:40:26 +0000 (19:40 +0000)] 
Add final modifier to local variables.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1749987 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-422: HttpAsyncResponseConsumer#onEntityEnclosed is triggered for HEAD responses
Oleg Kalnichevski [Sat, 18 Jun 2016 12:16:56 +0000 (12:16 +0000)] 
HTTPCORE-422: HttpAsyncResponseConsumer#onEntityEnclosed is triggered for HEAD responses

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1748975 13f79535-47bb-0310-9956-ffa450edef68

2 years agoHTTPCORE-423: Fixed MIME type validation in ContentType#create(String) method
Oleg Kalnichevski [Sat, 11 Jun 2016 14:56:59 +0000 (14:56 +0000)] 
HTTPCORE-423: Fixed MIME type validation in ContentType#create(String) method

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1747897 13f79535-47bb-0310-9956-ffa450edef68

2 years agoRemoved obsolete appended resources
Oleg Kalnichevski [Sat, 11 Jun 2016 14:49:05 +0000 (14:49 +0000)] 
Removed obsolete appended resources

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1747896 13f79535-47bb-0310-9956-ffa450edef68

2 years agoUpgraded HttpCore version to 4.4.6-SNAPSHOT
Oleg Kalnichevski [Fri, 10 Jun 2016 16:57:26 +0000 (16:57 +0000)] 
Upgraded HttpCore version to 4.4.6-SNAPSHOT

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1747747 13f79535-47bb-0310-9956-ffa450edef68

2 years agoUpdated release notes for HttpCore 4.4.5 release
Oleg Kalnichevski [Wed, 8 Jun 2016 16:07:43 +0000 (16:07 +0000)] 
Updated release notes for HttpCore 4.4.5 release

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1747414 13f79535-47bb-0310-9956-ffa450edef68