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

feat: close response body on DataSource closure #3851

Merged
merged 2 commits into from Feb 13, 2024

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Feb 12, 2024

What this PR changes/adds

Ensures that the ResponseBody and Stream of the request are closed when the DataSource gets closed.
This will make an eventual long-running call be terminated when the TransferProcess gets terminated (e.g. by the PolicyMonitor

Why it does that

data sovereignty

Further notes

  • cleaned up tests a bit

Linked Issue(s)

Closes #3848

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added enhancement New feature or request dpf Feature related to the Data Plane Framework labels Feb 12, 2024
@ndr-brt ndr-brt merged commit aed00a4 into eclipse-edc:main Feb 13, 2024
17 checks passed
@ndr-brt ndr-brt deleted the 3848-close-response-body branch February 13, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dpf Feature related to the Data Plane Framework enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

data-plane: http data source closure
2 participants