Skip to content

Conversation

mhl-b
Copy link
Contributor

@mhl-b mhl-b commented Aug 27, 2024

Some bad http requests never reach rest handler. In case of partial rest request there might be few http chunks in the stream queue that will leak. This PR release queued requests on HttpRequest.close(), which is invoked on dispatchBadRequest in RestController.

@mhl-b mhl-b added >enhancement :Distributed Coordination/Network Http and internode communication implementations Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.16.0 labels Aug 27, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhl-b mhl-b merged commit 5757e00 into elastic:partial-rest-requests Aug 27, 2024
Tim-Brooks pushed a commit to Tim-Brooks/elasticsearch that referenced this pull request Sep 19, 2024
Tim-Brooks added a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Network Http and internode communication implementations >enhancement Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants