-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ChunkedOutput race condition #4493
Comments
See related |
It's the |
|
This was referenced Jun 26, 2021
This was referenced Jul 6, 2021
This was referenced Aug 5, 2021
This was referenced Aug 30, 2021
1 task
This was referenced Oct 4, 2021
This was referenced Oct 18, 2021
This was referenced Oct 21, 2021
Merged
1 task
1 task
1 task
This was referenced Mar 7, 2022
This was referenced Mar 15, 2022
This was referenced Apr 17, 2022
This was referenced May 3, 2022
1 task
This was referenced Oct 19, 2022
1 task
This was referenced May 11, 2023
This was referenced Jun 15, 2023
1 task
1 task
This was referenced Apr 13, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Hi, I faced following error when I use
ChunkedOutput
for a response. It happens rarely.I confirmed this happens with jersey 2.30.1 and jetty 9.4.27.v20200227.
It seems
ContainerResponse#close
is called outside of synchronized.jersey/core-server/src/main/java/org/glassfish/jersey/server/ChunkedOutput.java
Line 293 in 4f7c616
I suspect the error happens when
ContainerResponse#close
is called while another thread is callingwrite
.The text was updated successfully, but these errors were encountered: