Skip to content

Add setContentLengthLong detection to OnCommittedResponseWrapper. #7264

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

Merged
merged 1 commit into from
Aug 20, 2019
Merged

Add setContentLengthLong detection to OnCommittedResponseWrapper. #7264

merged 1 commit into from
Aug 20, 2019

Conversation

danielwegener
Copy link
Contributor

Fixes gh-#7261

Trivial implementation.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 15, 2019
@jzheaux jzheaux self-assigned this Aug 17, 2019
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 17, 2019
@jzheaux
Copy link
Contributor

jzheaux commented Aug 17, 2019

Thanks, @danielwegener, for the PR! In preparation for merging, would you please update your commit message to follow the contribution guidelines?

@jzheaux jzheaux added the status: waiting-for-feedback We need additional information before we can continue label Aug 17, 2019
@jzheaux jzheaux added this to the 5.2.0.RC1 milestone Aug 17, 2019
Add setContentLengthLong tracking to OnCommittedResponseWrapper in
order to detect commits on servlets that use setContentLengthLong to
announce the entity size they are about to write (as used in the
Apache Tomcat's DefaultServlet).

Fixes gh-7261
@danielwegener
Copy link
Contributor Author

danielwegener commented Aug 18, 2019

@jzheaux Good point, sorry, wasn't reading the guildelines carefully enough. CLA is signed.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Aug 18, 2019
@jzheaux jzheaux merged commit 1a233a5 into spring-projects:master Aug 20, 2019
@jzheaux
Copy link
Contributor

jzheaux commented Aug 20, 2019

Thanks, @danielwegener! This is now merged into master.

@jzheaux jzheaux removed the status: feedback-provided Feedback has been provided label Aug 20, 2019
@danielwegener
Copy link
Contributor Author

Thanks @jzheaux, that's great! Is there any chance this could find a way down into 5.1.7?

@jzheaux
Copy link
Contributor

jzheaux commented Aug 22, 2019

Yes, @danielwegener, I've just backported it via f28fe2d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants