Skip to content

Drain proxy test requests before responding - #58

Merged
uwemaurer merged 1 commit into
ebics-java:masterfrom
CooperBigFoot:fix/proxy-request-drain
Nov 15, 2026
Merged

uwemaurer merged 1 commit into
ebics-java:masterfrom
CooperBigFoot:fix/proxy-request-drain

Conversation

@CooperBigFoot

Copy link
Copy Markdown
Contributor

StubProxy could close its socket while HttpClient was still writing the request body, causing intermittent broken-pipe/no-response errors. This matches the failure seen in PR #56 CI, though its exact timing was not reproduced locally.

  • Consume chunked and Content-Length bodies before replying.
  • Add a regression that withholds body completion and checks that the proxy waits.
  • Leave production code and existing proxy/auth tests unchanged.

Java 17: regression fails before the fix; all 5 focused tests and all 46 tests in ./mvnw verify pass.

Prepared with AI assistance; reviewed before publication.

@uwemaurer
uwemaurer merged commit f121ad3 into ebics-java:master Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants