|
Posted
5 days
ago
by
ASF subversion and git services
Commit ab20c86fb37c691d564cfed748bde5f11ebb1bc9 in httpcomponents-client's branch refs/heads/5.6.x from Arturo Bernal [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=ab20c86fb ] HTTPCLIENT-2426: Do not wrap a discarded (null) Read more
|
|
Posted
5 days
ago
by
Oleg Kalnichevski
ManagedHttpClientConnection.getSSLSession() throws unexpected org.apache.http.impl.conn.ConnectionShutdownException
|
|
Posted
5 days
ago
by
Konrad Windszus
According to the javadoc of https://javadoc.io/static/org.apache.httpcomponents/httpclient/4.5/org/apache/http/conn/ManagedHttpClientConnection.html#getSSLSession() Returns:the underlying SSL session if available, null otherwise However I Read more
|
|
Posted
5 days
ago
by
Konrad Windszus
Provide access to SSLSession in ManagedClientConnection
|
|
Posted
6 days
ago
by
Arturo Bernal
domi555 Yes, exactly. The fix is at the ContentCompressionAsyncExec level: if the downstream consumer returned by the next handler is null, it is propagated as-is and no content decoder is applied. So this should cover gzip, deflate, Brotli, Zstd, Read more
|
|
Posted
6 days
ago
by
Szczepanski Dominik
NullPointerException in InflatingGzipDataConsumer kills I/O reactor when following redirects with Content-Encoding: gzip
|
|
Posted
6 days
ago
by
Arturo Bernal
domi555 Thanks for the report. I believe the correct fix is to preserve the existing null consumer contract in ContentCompressionAsyncExec and avoid wrapping it in a decoder. Please have a look. https://github.com/apache/httpcomponents-client/pull/842 Read more
|
|
Posted
6 days
ago
by
Szczepanski Dominik
How to reproduce Make an async HTTP/1.1 request to an endpoint that responds with a 302 redirect where the intermediate response includes Content-Encoding: gzip. The I/O reactor thread dies with:
java.lang.NullPointerException
at
Read more
|
|
Posted
6 days
ago
by
Szczepanski Dominik
How to reproduce
Make an async HTTP/1.1 request to an endpoint that responds with a 302 redirect where the intermediate response includes `Content-Encoding: gzip`. The I/O reactor thread dies with: ``` java.lang.NullPointerException Read more
|
|
Posted
7 days
ago
by
Oleg Kalnichevski
RequestConfig#responseTimeout is not enforced for HTTP/2 streams
|