generated from netty-contrib/template-multi
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This issue is related to the #1 PR.
When a user is "giving " a buffer to the Multipart API, it's the responsibility of the MP API to close the user buffer. Now, to enforce transfer of resource ownership, maybe we should consider to use Send signatures in some of the Multipart API methods.
Maybe for example we could add the following:
- A new __HttpPostMultipartRequestDecoder.offer(Send<HttpContent> content) method could be added , in addition to old HttpPostMultipartRequestDecoder.offer(HttpContent content)
- Add __HttpData.setContent(Send<Buffer> buffer) method
- Add HttpData.addContent(Send<Buffer> buffer, boolean last)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request