Skip to content

track: add into_inner#48370

Closed
jkarneges wants to merge 1 commit into
mainfrom
jkarneges/track-into-inner
Closed

track: add into_inner#48370
jkarneges wants to merge 1 commit into
mainfrom
jkarneges/track-into-inner

Conversation

@jkarneges

Copy link
Copy Markdown
Member

The track module is used to enforce lifetimes of IPC messages, such that only one such tracked message exists at a time per task and that the message is processed timely. For the upcoming work to send large response headers, we'll need to keep the backing message around longer than usual so it can be borrowed while its contents are being sent to the client. This PR adds an into_inner method to Track, making it possible for a task to optionally exclude a message from tracking.

Note: we didn't need this for sending large request headers to the server, since the source message for outbound requests already begins in an untracked state.

@jkarneges jkarneges closed this Jun 18, 2026
@jkarneges

Copy link
Copy Markdown
Member Author

CI failing due to the code not being used yet. Will just put it in the PR that uses it.

@jkarneges jkarneges deleted the jkarneges/track-into-inner branch June 18, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant