-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
IllegalStateException in HttpOutput with Jersey #4461
Comments
same here but with other frameworks (spring boot 2.2)
|
@electrum thanks for the reproducer, we were able to confirm that's a Jetty bug. |
joakime
added a commit
that referenced
this issue
Jan 8, 2020
Signed-off-by: Joakim Erdfelt <[email protected]>
A smaller testcase that can replicate this can be found in branch |
joakime
added a commit
that referenced
this issue
Jan 8, 2020
Signed-off-by: Joakim Erdfelt <[email protected]>
Opened PR #4465 |
gregw
added a commit
that referenced
this issue
Jan 9, 2020
Added tests to check that aggregation continues after first flush of an aggregated buffer (this triggers both #4461 and the discovered bug of not aggregating because of empty at capacity aggregate buffer). Added getAggregateSize method that does a compact to avoid empty at capacity aggregate buffer Call onWriteComplete if residue of an overflow aggregation can itself be aggregated. Signed-off-by: Greg Wilkins <[email protected]>
gregw
added a commit
that referenced
this issue
Jan 9, 2020
Removed implicit compact from GzipHandler Signed-off-by: Greg Wilkins <[email protected]>
gregw
added a commit
that referenced
this issue
Jan 9, 2020
Improve test coverage Signed-off-by: Greg Wilkins <[email protected]>
gregw
added a commit
that referenced
this issue
Jan 9, 2020
Remove case that can never happen. Signed-off-by: Greg Wilkins <[email protected]>
gregw
added a commit
that referenced
this issue
Jan 9, 2020
updates from review Signed-off-by: Greg Wilkins <[email protected]>
tswstarplanet
added a commit
to tswstarplanet/jetty.project
that referenced
this issue
Jan 12, 2020
Fix jetty#4461 HttpOutput Aggregation (jetty#4466)
phemmer
added a commit
to phemmer/minecraft-prometheus-exporter
that referenced
this issue
May 16, 2020
Pulls in upstream fix jetty/jetty.project#4461
sladkoff
pushed a commit
to sladkoff/minecraft-prometheus-exporter
that referenced
this issue
May 16, 2020
* add gzip transport support * upgrade jetty to 9.4.28.v20200408 Pulls in upstream fix jetty/jetty.project#4461
This was referenced Jan 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version
9.4.25.v20191220
Java version
OpenJDK 1.8.0_232 (Zulu)
OS type/version
macOS Mojave 10.14.6
Description
Jetty 9.4.25 seems to have a regression (or stricter behavior) in the
HttpOutput
state machine (likely introduced by #4409) which causes the following exception onwrite()
:Unfortunately, I was not able to create a simple reproduction, but it reproduces reliably when running a Presto unit test in the
presto-jmx
module from this branch: https://github.com/electrum/presto/tree/jetty9425:After running the above, look for the following error in the test output after 5-10 seconds. You can kill the test at this point, since it takes a while to eventually time out.
The text was updated successfully, but these errors were encountered: