Skip to content

Conversation

lachlan-roberts
Copy link
Contributor

I was getting a failed test from org.eclipse.jetty.test.client.transport.HttpClientTest#testInvalidFieldValues about a buffer being acquired but never released.

This was because there was an error when encoding the headers, and in HeadersGenerator the buffer was being allocated but not being added to the accumulator and only buffers in the accumulator were being released on failure.

This change fixes the test failure (not sure why the failure is not showing up in CI).

@lachlan-roberts lachlan-roberts self-assigned this Sep 3, 2025
@lachlan-roberts lachlan-roberts moved this to 👀 In review in Jetty 12.0.27 Sep 5, 2025
@lachlan-roberts lachlan-roberts moved this to 👀 In review in Jetty 12.1.2 Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

2 participants