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 race condition in WriteResultPublisher between subscription and completion in publishComplete #24989

Closed

Conversation

danielra
Copy link

The bug I was experiencing was that sometimes with a WebFlux on Tomcat setup, responses were not being emitted (despite the Publisher being returned from my Controller methods completing successfully). Similar to #23096

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 28, 2020
@rstoyanchev rstoyanchev self-assigned this Apr 30, 2020
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 30, 2020
@rstoyanchev rstoyanchev added this to the 5.2.7 milestone Apr 30, 2020
@rstoyanchev rstoyanchev changed the title Fix race condition with publishComplete Fix race condition in WriteResultPublisher between subscription and completion in publishComplete Apr 30, 2020
@rstoyanchev rstoyanchev added the for: backport-to-5.1.x Marks an issue as a candidate for backport to 5.1.x label May 1, 2020
@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-5.1.x Marks an issue as a candidate for backport to 5.1.x labels May 1, 2020
@rstoyanchev
Copy link
Contributor

Thanks for spotting this!

rstoyanchev added a commit that referenced this pull request May 4, 2020
zx20110729 pushed a commit to zx20110729/spring-framework that referenced this pull request Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants