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

4.x: Media Context and streaming #7396

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

tomas-langer
Copy link
Member

@tomas-langer tomas-langer commented Aug 17, 2023

Description

Media writers now correctly handle streaming where needed, without buffering in memory.
Fixes of issues uncovered by this change.
This impacts custom Media supports only, the API remains the same.

  • String support is always in-memory
  • Path depends on file size (configurable) - smaller files are loaded into memory, bigger files use streaming

Fixed issues that were uncovered (as now we use streaming a bit more).

Resolves #7006

Moved to M2 milestone, as this resolves some bigger issues (such as 100-Continue handling)

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
…ffering in memory.

Fixes of issues uncovered by this change.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@tomas-langer tomas-langer added media-support Media type processing in SE 4.x Version 4.x labels Aug 17, 2023
@tomas-langer tomas-langer self-assigned this Aug 17, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 17, 2023
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@Verdent Verdent self-requested a review August 17, 2023 14:56
@tomas-langer tomas-langer merged commit a7e2091 into helidon-io:main Aug 17, 2023
12 checks passed
@tomas-langer tomas-langer deleted the 7006-media-context branch August 17, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x media-support Media type processing in SE OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants