Skip to content

Conversation

@karlseguin
Copy link
Collaborator

… processed

We currently set request._keepalive prematurely. There are [error cases] where the request could be abandoned before being fully drained. While we do try to drain in some cases, it isn't always possible. For this reason, request.keepalive is only set at the end of the request lifecycle, at which point we know the connection is ready to be re-used.

… processed

We currently set request._keepalive prematurely. There are [error cases] where
the request could be abandoned before being fully drained. While we do try to
drain in some cases, it isn't always possible. For this reason,
request.keepalive is only set at the end of the request lifecycle, at which
point we know the connection is ready to be re-used.
@karlseguin karlseguin merged commit 8033e41 into main Jun 18, 2025
11 checks passed
@karlseguin karlseguin deleted the dont_keepalive_unprocess_request branch June 18, 2025 08:46
@github-actions github-actions bot locked and limited conversation to collaborators Jun 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants