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

[FIX] Oembed request not respecting payload limit #24418

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

sampaiodiego
Copy link
Member

Proposed changes (including videos or screenshots)

Issue(s)

Closes #24395

Steps to test or reproduce

Further comments

@sampaiodiego sampaiodiego added this to the 4.4.1 milestone Feb 4, 2022
@sampaiodiego sampaiodiego requested review from a team February 4, 2022 19:54

if (totalSize > sizeLimit) {
SystemLogger.info({ msg: 'OEmbed request size exceeded', url });
break;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't found any issue on breaking the async iterator loop this way.
not sure if this could produce a memory though

@sampaiodiego sampaiodiego merged commit 1d4ed8a into develop Feb 7, 2022
@sampaiodiego sampaiodiego deleted the fix-oembed-request-size-limit branch February 7, 2022 14:33
@pierre-lehnen-rc pierre-lehnen-rc mentioned this pull request Feb 7, 2022
@pierre-lehnen-rc pierre-lehnen-rc mentioned this pull request Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

posting direct download links to large files in chat hangs the server for a while
2 participants