Skip to content

Upgrading to 3.12.1 from 3.7.2 : problem with wiremock's MALFORMED_RESPONSE_CHUNK and okhttp #2103

@rpiterman

Description

@rpiterman

Description

For our http-intensive application we wrap okhttp with a domain-specific client using logbook for logging.
To test end-to-end, we use wiremock faults to simulate IO Problems and validate the application level result is as required.

While upgrading from logbook 3.7.2 to 3.12.1, the MALFORMED_RESPONSE_CHUNK test fails and seems to crush okhttp own thread.

Expected Behavior

logbook okhttp interceptor does not affect, in no circumstances, the result of the request or response in the application.

Actual Behavior

a MALFORMED_RESPONSE_CHUNK simulation of wiremock causes an exception to be thrown in okhttp managed thread.

Possible Fix

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions