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

Response in AccessGrantedAndUpdateList can lead to memory overload #64

Open
bashir2 opened this issue Jan 19, 2023 · 0 comments
Open

Response in AccessGrantedAndUpdateList can lead to memory overload #64

bashir2 opened this issue Jan 19, 2023 · 0 comments
Labels
enhancement New feature or request P3:TBE An issue that is not evaluated and/or planned for implementation yet.

Comments

@bashir2
Copy link
Collaborator

bashir2 commented Jan 19, 2023

Reported by @omarismail94 :

When we send a Bundle, we load the entire response in memory. Depending on the maximum size, this might cause memory issues for the proxy.

See the BearerAuthorizationInterceptor.replaceAndCopyResponse method as a way to avoid this by using a StringReader.

@bashir2 bashir2 added enhancement New feature or request P3:TBE An issue that is not evaluated and/or planned for implementation yet. labels Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3:TBE An issue that is not evaluated and/or planned for implementation yet.
Projects
None yet
Development

No branches or pull requests

1 participant