Closed
Description
We had reportings that Jersey Apache Connector can throw an exception:
And for Apache Http Client 4.5.1+, the Apache Connector as it was in Jersey pre 2.29 stopped working since Apache changed the way the connection is closed.
So the Apache Connector has been changed in 2.29, so that it works with Apache Connector 4.5.1+ and MalformedChunkCodingException can be thrown.
However, the Apache Connector can hang now:
- This is why we did not put the change to 2.27
- Apache says it is as expected.
- Other have similar issues
- And it can be solved by ClientProperties.READ_TIMEOUT
- Or by closing in a different thread
The current issue is when migrating from Jersey pre 2.29 to 2.29, the connection hang as the timeout is not set.
Metadata
Metadata
Assignees
Labels
No labels