点击右上方,关注开源中国OSC头条 ,获取最新技术资讯
这是一个维护版本,它修复了 TLS v1.3 兼容性问题。 支持Java 11。
请注意,从 4.4 开始,HttpCore 需要 Java1.6 或更高版本。
重要信息:强烈建议 HttpCore 4.x GA 版本的用户使用新的 HttpCore5.0 API 并为项目的开发人员提供反馈。
更新内容如下:
HTTPCORE-564: fixed deadlock in IOSessionImpl caused by concurrent session closure and i/o reactor shutdown. Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: asynchronous HTTP connections must not suspend output if there is buffered output data. Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: SSL I/O session to keep input interest if there is buffered application data. Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: keep SSL i/o session in ‘CLOSING’ state as long as there is buffered application data. Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: corrected abnormal termination of pipelined request sequence. Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: non-blocking SSL session incorrectly stops decrypting incoming data if unwrap operation results in NOT_HANDSHAKING status (back-ported from master). Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: corrected handling of NEED_WRAP handshake status during graceful SSL session termination (back-ported from master). Contributed by Oleg Kalnichevski <olegk at apache.org>
Bug fix: corrected handling of graceful SSL session termination initiated by the opposite endpoint (back-ported from master). Contributed by Oleg Kalnichevski <olegk at apache.org>
Refactor duplicate messages into a new 0-arg constructor for org.apache.http.ConnectionClosedException. Contributed by Gary Gregory <ggregory at apache.org>
Fix typos in exception messages. Contributed by Gary Gregory <ggregory at apache.org>
HTTPCORE-550: When a ParseException is caught and rethrown as an IOException in org.apache.http.impl.nio.codecs.ChunkDecoder.processFooters(), the IOException does not chain the original ParseException. Contributed by Gary Gregory <ggregory at apache.org>
HTTPCORE-562: The reason phrase returned by org.apache.hc.core5.http.HttpResponse.getReasonPhrase() may be empty. Contributed by Gary Gregory <ggregory at apache.org>
Keep the entries in org.apache.hc.core5.http.protocol.UriPatternMatcher#map in insertion order. Contributed by Gary Gregory <ggregory at apache.org>
Corrected Automatic-Module-Name entries for HttpCore NIO and HttpCore AB Contributed by Oleg Kalnichevski <olegk at apache.org>
点击下方“了解更多”,获取软件下载地址。
↓↓↓
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!