Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ByteBody.move #11280

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Add ByteBody.move #11280

merged 2 commits into from
Oct 29, 2024

Conversation

yawkat
Copy link
Member

@yawkat yawkat commented Oct 28, 2024

This method is a primary operation that transfers ownership. In particular this means it can convert a ByteBody (where the current code does not have exclusive ownership) to a CloseableByteBody (where it does).

The method cannot be implemented using existing methods. But that's okay since ByteBody is experimental, not implemented outside core (anymore), and this method is not used by core.

This method is a primary operation that transfers ownership. In particular this means it can convert a ByteBody (where the current code does not have exclusive ownership) to a CloseableByteBody (where it does).

The method cannot be implemented using existing methods. But that's okay since ByteBody is experimental, not implemented outside core (anymore), and this method is not used by core.
@yawkat yawkat added the type: improvement A minor improvement to an existing feature label Oct 28, 2024
@yawkat yawkat added this to the 4.8.0 milestone Oct 28, 2024
@yawkat yawkat changed the title Add ByteBody.send Add ByteBody.move Oct 28, 2024
Copy link

@sdelamo sdelamo merged commit 0a78c94 into 4.8.x Oct 29, 2024
21 checks passed
@sdelamo sdelamo deleted the body-send branch October 29, 2024 08:41
yawkat added a commit that referenced this pull request Nov 6, 2024
* Add ByteBody.move (#11280)

* Migrate netty HttpClient to ExecutionFlow
Also adds cancellation support to ExecutionFlow.

* review

* fix double cancel

---------

Co-authored-by: Sergio del Amo <sergio.delamo@softamo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants