NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #2216 by repository stars
Apache HttpComponents Core is a library of components for building HTTP enabled services
Latest stable
4.4.16
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 7 months
Most releases are documented
notes for 21 of 34 stable releases
Nothing withdrawn
no release was ever pulled
19 years old
50 releases · first in 2007
Drag across the ruler to compare, or tap a release to open it.
No release notes were published for 4.4.16. Between rel/v4.4.15 and rel/v4.4.16 there were 11 commits, 11 of them substantive:
No release notes were published for 4.4.16. Between rel/v4.4.15 and rel/v4.4.16 there were 11 commits, 11 of them substantive:
No release notes were published for 4.4.15. Between rel/v4.4.14 and rel/v4.4.15 there were 8 commits, 8 of them substantive:
No release notes were published for 4.4.15. Between rel/v4.4.14 and rel/v4.4.15 there were 8 commits, 8 of them substantive:
#close method of classic HTTP connectionsYour coding agent can read these notes before it upgrades. Set up the MCP server →
No release notes were published for 4.4.14. Between rel/v4.4.13 and rel/v4.4.14 there were 15 commits, 15 of them substantive:
No release notes were published for 4.4.14. Between rel/v4.4.13 and rel/v4.4.14 there were 15 commits, 15 of them substantive:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a maintenance release that fixes a number of issues discovered since 4.4.3.
This is a maintenance release that fixes a number of issues discovered since 4.4.3.
Please note that as of 4.4 HttpCore requires Java 1.6 or newer.
This is a maintenance release that fixes a regression introduced by release 4.4.2.
This is a maintenance release that fixes a regression introduced by release 4.4.2.
Please note that as of 4.4 HttpCore requires Java 1.6 or newer.
This maintenance release fixes a bug in HTTP request pipelining code discovered after 4.4.1 release.
This maintenance release fixes a bug in HTTP request pipelining code discovered after 4.4.1 release.
Please note that as of 4.4 HttpCore requires Java 1.6 or newer.
This maintenance release fixes a number of minor bugs found since 4.4.
This maintenance release fixes a number of minor bugs found since 4.4.
Please note that as of 4.4 HttpCore requires Java 1.6 or newer.
This is the first stable (GA) release of HttpCore 4.4. Notable features included in the 4.4 series are:
This is the first stable (GA) release of HttpCore 4.4. Notable features included in the 4.4 series are:
Support for pipelined request processing on the server-side
Support for pipelined request execution on the client-side
Simplified bootstrapping of blocking and non-blocking (NIO) HTTP server implementations
Inclusion of SSL context initialization utilities from HttpClient
Please note that as of 4.4 HttpCore requires Java 1.6 or newer.
This is the first BETA release from 4.4 release series. Notable features included in the 4.4 series are:
This is the first BETA release from 4.4 release series. Notable features included in the 4.4 series are:
Support for pipelined request processing on the server-side
Support for pipelined request execution on the client-side
Simplified bootstrapping of blocking and non-blocking (NIO) HTTP server implementations
Inclusion of SSL context initialization utilities from HttpClient
New HTTP element tokenizer implementation
Please note that as of 4.4 HttpCore requires Java 1.6 or newer.
This is the first release from the 4.4.x development branch. The most notable features included in this release are:
This is the first release from the 4.4.x development branch. The most notable features included in this release are:
Support for pipelined request processing on the server-side
Support for pipelined request execution on the client-side
Simplified bootstrapping of blocking and non-blocking (NIO) HTTP server implementations
This release also includes all fixes from the stable 4.2.x release branch.
Nothing published for this version
This maintenance release fixes a number of bugs and regressions found since 4.3.1, mostly in the NIO transport components. All users of HttpCore 4.3 a
This maintenance release fixes a number of bugs and regressions found since 4.3.1, mostly in the NIO transport components. All users of HttpCore 4.3 are advised to upgrade.
This maintenance release fixes a number of bugs and regressions found since 4.3, mostly in the NIO transport components. All users of HttpCore 4.3 are
This maintenance release fixes a number of bugs and regressions found since 4.3, mostly in the NIO transport components. All users of HttpCore 4.3 are advised to upgrade.
Deprecation of preference and configuration API based on HttpParams interface in favor of constructor injection and plain configuration objects.
This is the first stable (GA) release of HttpCore 4.3. The most notable features in the 4.3 branch are:
Deprecation of preference and configuration API based on HttpParams interface in favor of constructor injection and plain configuration objects.
Reliance on object immutability instead of access synchronization for thread safety. Several old classes whose instances can be shared by multiple request exchanges have been replaced by immutable equivalents.
The 4.3 branch also contains performance optimizations such as reduced TCP packet fragmentation and more efficient lease / release operations for pools of persistent connections on the client side.
This release also includes all fixes from the 4.2.x release branch.
Users of HttpCore 4.2 are encouraged to upgrade.
This is the second BETA release from the 4.3.x release branch. This release addresses performance issues in the non-blocking connection pool implement
This is the second BETA release from the 4.3.x release branch. This release addresses performance issues in the non-blocking connection pool implementation and also includes a number of performance improvements in the low level NIO based transport components.
The main theme of the 4.3 release series is streamlining of component configuration and deprecation of the old configuration API based on HttpParams i…
This is the first BETA release from the 4.3.x release branch. The main theme of the 4.3 release series is streamlining of component configuration and deprecation of the old configuration API based on HttpParams in favor of constructor-based dependency injection and plain objects for configuration parameters.
This release also includes performance optimizations intended to reduce TCP packet fragmentation when writing out HTTP messages both in blocking and non-blocking I/O modes, which should result in up to 20% higher throughput for short entity enclosing messages.
This release also includes all fixes from the stable 4.2.x release branch.
The main focus of the 4.3 release series is streamlining of component configuration and deprecation of the old configuration API based on HttpParams i…
This is the first release from the 4.3.x release branch. The main focus of the 4.3 release series is streamlining of component configuration and deprecation of the old configuration API based on HttpParams in favor of constructor based dependency injection and plain objects for configuration parameters.
We are kindly asking all upstream projects to review API changes and help us improve the APIs by providing feedback and sharing ideas on dev@hc.apache.org.
This release also includes all fixes from the stable 4.2.x release branch.
This maintenance release fixes a number of bugs found in NIO components since 4.2.4. We advise users of HttpCore NIO of all versions to upgrade.
This maintenance release fixes a number of bugs found in NIO components since 4.2.4. We advise users of HttpCore NIO of all versions to upgrade.
This is likely to be the last release in the 4.2.x branch.
This maintenance release fixes a number of bugs found in NIO components since 4.2.3. We advise users of HttpCore NIO of all versions to upgrade.
This maintenance release fixes a number of bugs found in NIO components since 4.2.3. We advise users of HttpCore NIO of all versions to upgrade.
This maintenance release fixes a number of bugs and found since 4.2.2 including a major bug in the NIO module that can cause an infinite loop in SSL s
This maintenance release fixes a number of bugs and found since 4.2.2 including a major bug in the NIO module that can cause an infinite loop in SSL sessions under special circumstances when the remote peer terminates the session in the middle of SSL handshake. Please note this issue does not affect blocking I/O components used by HttpClient.
We advise users of HttpCore NIO of all versions to upgrade.
This is a maintenance release that fixes a number of bugs and regressions found since 4.2.1 including a major bug in the NIO module causing incorrect
This is a maintenance release that fixes a number of bugs and regressions found since 4.2.1 including a major bug in the NIO module causing incorrect handling of outgoing Content-Length delimited messages larger than 2GB.
Users of HttpCore 4.2 are advised to upgrade.
This is a maintenance release that fixes a non-critical number of bugs found since 4.2. Users of HttpCore 4.2 are encouraged to upgrade.
This is a maintenance release that fixes a non-critical number of bugs found since 4.2. Users of HttpCore 4.2 are encouraged to upgrade.
This is the first stable (GA) release of HttpCore 4.2. The most notable features included in this release are connection pool components for blocking
This is the first stable (GA) release of HttpCore 4.2. The most notable features included in this release are connection pool components for blocking and non-blocking HTTP connections and new asynchronous client and server-side protocol handlers.
New protocol handling API used in conjunction with connection pooling components is expected to make development of asynchronous HTTP client agents and HTTP proxies easier and less error prone.
Connection pool components are based on mature code migrated from HttpClient and HttpAsyncClient modules but have a slightly different API that makes a better use of Java standard concurrent primitives.
This is the first BETA release of HttpCore 4.2. This release comes with completely redesigned and rewritten asynchronous protocol handlers. New protoc
This is the first BETA release of HttpCore 4.2. This release comes with completely redesigned and rewritten asynchronous protocol handlers. New protocol handling API used in conjunction with connection pooling components is expected to make development of asynchronous HTTP client agents and HTTP proxies easier and less error prone.
Sample application shipped with the release include an example of an HTTP file server capable of direct channel (zero copy) data transfer and an example of a non-blocking, fully streaming reverse proxy.
This release also incorporates bug fixes from the stable 4.1.x branch and includes an updated HttpCore tutorial.
As of this release HttpCore requires Java 1.5 for all its components. Several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (mo…
This is the second ALPHA release of HttpCore 4.2. This release comes with completely redesigned and rewritten asynchronous protocol handlers. New protocol handling API used in conjunction with connection pooling components introduced in the previous ALPHA release is expected to make development of asynchronous HTTP client agents and HTTP proxies easier and less error prone.
Sample application shipped with the release include an example of an HTTP file server capable of direct channel (zero copy) data transfer and an example of a non-blocking, fully streaming reverse proxy.
We are kindly asking existing and prospective users of HttpCore to review and try out the new protocol handlers and give us feedback while the 4.2 API is still not final. If no major flaws are discovered the 4.2 API is expected to be frozen with the next BETA release.
Please note that new features included in this release are still considered experimental and their API may change in the future ALPHA releases. This release also marks the end of support for Java 1.3. As of this release HttpCore requires Java 1.5 for all its components. Several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) have been removed in this release.
As of this release HttpCore requires Java 1.5 for all its components. Several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (mo…
This is the first ALPHA release of 4.2. The most notable feature included in this release is support for connection pools of blocking and non-blocking HTTP connections. Connection pool components are based on mature code migrated from HttpClient and HttpAsyncClient modules but have a slightly different API that makes a better use of Java standard concurrent primitives.
Support for connection pools in HttpCore is expected to make development of client and proxy HTTP services easier and less error prone.
Please note that new features included in this release are still considered experimental and their API may change in the future ALPHA releases. This release also marks the end of support for Java 1.3. As of this release HttpCore requires Java 1.5 for all its components. Several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) have been removed in this release.
This is a maintenance release that fixes a number of bugs found since 4.1.3. It is also likely to be the last release in the 4.1.x branch.
This is a maintenance release that fixes a number of bugs found since 4.1.3. It is also likely to be the last release in the 4.1.x branch.
This is an emergency release that fixes a severe regression in the non-blocking SSL I/O code introduced in release 4.1.2.
This is an emergency release that fixes a severe regression in the non-blocking SSL I/O code introduced in release 4.1.2.
Please note that several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) will also be removed in the 4.…
This is a patch release that fixes a number of bugs found in the previous version.
Please note that several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) will also be removed in the 4.2 branch.
Users of 4.0.x versions are advised to upgrade and replace deprecated API calls following recommendations in Javadocs.
[HTTPCORE-261] IOSession#setSocketTimeout() method does not reset the timeout count. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-260] Non-blocking SSL I/O session can terminate prematurely causing message body truncation when message content is chunk coded and the connection is closed on the opposite end. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-257] Fixed incorrect results produced by DefaultConnectionReuseStrategy when handling response messages whose content entity has been decoded or modified by a protocol interceptor. Contributed by Oleg Kalnichevski <olegk at apache.org>
Please note that several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) will also be removed in the 4.…
This is a patch release that fixes a number of non-critical issues found since release 4.1.
This release marks the end of support for Java 1.3. As of release 4.2 HttpCore will require Java 1.5 for all its components.
Please note that several classes and methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) will also be removed in the 4.2 branch.
Users of 4.0.x versions are advised to upgrade and replace deprecated API calls following recommendations in Javadocs.
In case of an unexpected end of stream condition (the peer closed connection prematurely) truncated Content-Length delimited message bodies will cause an I/O exception. Application can still choose to catch and ignore ConnectionClosedException in order to accept partial message content. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-255]: Fixed resource management in InputStreamEntity#writeTo() Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-254]: Erratic results from metrics (sebb)
[HTTPCORE-242]: Fixed NPE in AsyncNHttpClientHandler caused by an early response to an entity enclosing request. Contributed by Oleg Kalnichevski <olegk at apache.org>
This is the first stable (GA) release of HttpCore 4.1. This release provides a compatibility mode with JREs that have a naive (broken) implementation
This is the first stable (GA) release of HttpCore 4.1. This release provides a compatibility mode with JREs that have a naive (broken) implementation of SelectionKey API and also improves compatibility with the Google Android platform. There has also been a number of performance related improvements and bug fixes in both blocking and non-blocking components.
The most significant change in this release is deprecation of the HttpEntity#consumeContent() method and streamlining of connection management and res…
This is the second BETA release of HttpCore 4.1. This is mainly a bug fix release that addresses a number of non-critical bugs.
The most significant change in this release is deprecation of the HttpEntity#consumeContent() method and streamlining of connection management and resource deallocation by HTTP entities. Please refer to the Javadocs for details.
[HTTPCORE-229] AbstractSessionInputBuffer#readLine(CharArrayBuffer) returns incorrect number of characters read by the method when using non-standard HTTP element charset. Contributed by Oleg Kalnichevski <olegk at apache.org>
Non-blocking connections can trigger #responseReady / #requestReady events by mistake when the underlying session is already closed. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-228] Fixed NPE in AsyncNHttpServiceHandler caused by entity enclosing requests if no matching request handler can be found. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-227] Fixed incorrect request / response count by non-blocking connections. Contributed by Harold Lee <harold at hotelling.net>
[HTTPCORE-226] Improved compatibility of NIO components with Google Android. Contributed by Oleg Kalnichevski <olegk at apache.org>
ByteArrayBuffer, CharArrayBuffer, BasicHeader, BufferedHeader, HeaderGroup, BasicRequestLine, BasicStatusLine made Serializable. Contributed by Oleg Kalnichevski <olegk at apache.org>
This is the first BETA release of HttpCore 4.1. This release finalizes the API introduced in the 4.1 development branch. It also fixes a number of bug
This is the first BETA release of HttpCore 4.1. This release finalizes the API introduced in the 4.1 development branch. It also fixes a number of bugs discovered since the previous release and delivers a number of performance optimizations in the blocking HTTP transport components. The blocking HTTP transport is expected to be 5% to 10% faster compared to previous releases.
[HTTPCORE-222] Fixed Import-Package in the OSGi META-INF Contributed by Willem Jiang <willem.jiang at gmail.com>
[HTTPCORE-177] Reduce intermediate data buffering by reading large chunks of data directly from the underlying socket stream. This results in improved performance of blocking read operations. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-220] IdentityDecoder fails to detect end of stream when using file channels. Contributed by Asankha C. Perera <asankha at apache.org>
[HTTPCORE-218] ChunkEncoder#write method no longer returns incorrect value if the data to write is greater than the size of the internal buffer used by the encoder. Contributed by Richie Jefts <rjefts at gmail.com>
[HTTPCORE-209] Added parameter to set SO_REUSEADDR on sockets bound to a local address. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-207] SocketHttp*Connection classes can leak sockets if the connection is half-closed Contributed by David Koski <david_koski at mac.com>
This is the first public release from the 4.1 branch of HttpCore. This release adds a number of new features, most notable being introduction of compa
This is the first public release from the 4.1 branch of HttpCore. This release adds a number of new features, most notable being introduction of compatibility mode with IBM JREs and other JREs with naive (broken) implementation of SelectionKey API.
Please note new classes and methods added in the 4.1 branch are still considered API unstable.
Ensure that an attempt is made to close out all active sessions gracefully in case of an abnormal shutdown of the I/O reactor. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-201] OSGi Export-Package to specify release version Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-183] Added Thread-safe implementations of HttpParams and HttpProcessor - SyncBasicHttpParams and ImmutableHttpProcessor classes Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-199] ContentInputStream implements InputStream#available(). Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-195] Truncated chunk-coded streams can now be tolerated by catching and discarding TruncatedChunkException. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-155] Compatibility mode with IBM JRE and other JREs with naive (broken) implementation of SelectionKey. Contributed by Marc Beyerle <marc.beyerle at de.ibm.com> and Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-191] Blocking HTTP connections are now capable of correctly preserving their internal state on SocketTimeoutExceptions, which makes it possible to continue reading from the connection after a socket timeout. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-190] ChunkedInputStream is now capable of correctly preserving its internal state on SocketTimeoutExceptions, which makes it possible to continue reading from the stream after a socket timeout. Contributed by Oleg Kalnichevski <olegk at apache.org>
This is a patch release addressing a number of issues discovered since the 4.0 release. Users of NIO module are advised to upgrade.
This is a patch release addressing a number of issues discovered since the 4.0 release. Users of NIO module are advised to upgrade.
[HTTPCORE-198] CONNECT request includes Host header for HTTP 1.1 connections. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-196] SSLIOSession now unwraps encrypted data more aggressively eliminating long pauses when receiving data over non-blocking connections. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-197] Fixed bug causing the non-blocking ChunkDecoder to report some data stream as truncated under special conditions. Contributed by Denis Rogov <denrogov at gmail.com> and Oleg Kalnichevski <olegk at apache.org>
SSLIOSession#isAppOutputReady and SSLIOSession#isAppInputReady no longer ignore the application event mask causing I/O event notifications for unrequested type of events. Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-193] Fixed problem with SSLIOSession incorrectly handling of end-of-stream condition. Contributed by Asankha C. Perera <asankha at apache.org> and Oleg Kalnichevski <olegk at apache.org>
This is the first stable (GA) release of HttpCore 4.0. This release mainly improves the documentation and fixes a few minor bugs reported since the pr
This is the first stable (GA) release of HttpCore 4.0. This release mainly improves the documentation and fixes a few minor bugs reported since the previous release. HttpCore now comes with a complete tutorial presenting an in-depth coverage of the API.
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 minimal footprint. HttpCore supports two I/O models: blocking I/O model based on the classic Java I/O and non-blocking, event driven I/O model based on Java NIO. The blocking I/O model may be more appropriate for data intensive, low latency scenarios, whereas the non-blocking model may be more 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.
[HTTPCORE-180] Fixed NPE in standard I/O event dispatchers when IOEventDispatch#disconnected fires before the session was fully initialized (IOEventDispatch#connected was not called). Contributed by Oleg Kalnichevski <olegk at apache.org>
[HTTPCORE-175] Chunk decoders no longer accept truncated chunks as valid input. Contributed by Oleg Kalnichevski <olegk at apache.org>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.