|
Posted
3 months
ago
by
ASF subversion and git services
Commit 869a8dc91e2716572ea6f8798757afb93a44b586 in httpcomponents-client's branch refs/heads/5.6.x from Arturo Bernal [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=869a8dc91 ] HTTPCLIENT-2422: Restore lazy content decompression Read more
|
|
Posted
4 months
ago
by
ASF subversion and git services
Commit 4b0cbd4bf94a92b703985630aa42144eed20402c in httpcomponents-client's branch refs/heads/master from Arturo Bernal [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=4b0cbd4bf ] HTTPCLIENT-2422: Restore lazy content Read more
|
|
Posted
4 months
ago
by
Arturo Bernal
snehanie I pushed a fix that restores lazy construction of the decompression stream. Could you please test the latest snapshot from master against your original use case and confirm whether it resolves the problem? The intended behavior is Read more
|
|
Posted
4 months
ago
by
ASF GitHub Bot
DecompressingEntity in 5.4+ eagerly creates decompression stream, causing ZipException on empty/invalid bodies (regression from 5.2 lazy behavior)
|
|
Posted
4 months
ago
by
Sneha Murganoor
In 5.2, DecompressingEntity.getContent() returned a LazyDecompressingInputStream that deferred GZIPInputStream creation to the first read() call. This allowed responses with Content-Encoding: gzip but empty or non-gzip bodies to be handled gracefully Read more
|
|
Posted
4 months
ago
by
Claus Ibsen
yes I just wanted to bring attention if the remote server returns a long 429 retry after then it looks like its hanging. The code improves that. And also the demo we used in Camel was stupid in the sense it uses 60 minutes. Real world 429 would be Read more
|
|
Posted
4 months
ago
by
ASF GitHub Bot
ok2c commented on code in PR #781: URL: https://github.com/apache/httpcomponents-client/pull/781#discussion_r3294396821 ########## httpclient5-cache/src/test/java/org/apache/hc/client5/http/cache/example/AsyncClientCacheRequestCollapsing.java: ########## Read more
|
|
Posted
4 months
ago
by
Oleg Kalnichevski
davsclaus The actual behavior of HttpClient is not wrong as far as I am concerned and is conformant to the HTTP spec. And we just cannot make everyone happy, but we provide ways of injecting custom logic through strategy interfaces. There is nothing Read more
|
|
Posted
4 months
ago
by
ASF GitHub Bot
ok2c commented on code in PR #781: URL: https://github.com/apache/httpcomponents-client/pull/781#discussion_r3294259087 ########## httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/AsyncCachingExec.java: ########## @@ -98,13 Read more
|
|
Posted
4 months
ago
by
ASF GitHub Bot
arturobernalg commented on PR #781: URL: https://github.com/apache/httpcomponents-client/pull/781#issuecomment-4528042034 > @arturobernalg There is a lot of complexity in this change-set for what I personally see is little practical gain. > Read more
|