You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use feign-java11 and feign-gson dependencies in our project and after we migrated from 13.1 to 13.5 one of our tests started failing.
This test uses WireMock and verifies that if malformed response is sent to the client then RetryableException is thrown.
In 13.1 this test passed but in 13.5 fails. Our investigation shown that in both Feign versions IOException is thrown but in 13.1 it's correctly caught in SynchronousMethodHandler.executeAndDecode:
java.io.IOException: chunked transfer encoding, state: READING_LENGTH
And in 13.5 it's not caught. The last line that was executed is
cf = sendAsync(req, responseHandler, null, null);
in HttpClientImpl.send
The text was updated successfully, but these errors were encountered:
Hi
We use feign-java11 and feign-gson dependencies in our project and after we migrated from 13.1 to 13.5 one of our tests started failing.
This test uses WireMock and verifies that if malformed response is sent to the client then RetryableException is thrown.
In 13.1 this test passed but in 13.5 fails. Our investigation shown that in both Feign versions IOException is thrown but in 13.1 it's correctly caught in SynchronousMethodHandler.executeAndDecode:
java.io.IOException: chunked transfer encoding, state: READING_LENGTH
And in 13.5 it's not caught. The last line that was executed is
cf = sendAsync(req, responseHandler, null, null);
in HttpClientImpl.send
The text was updated successfully, but these errors were encountered: