jetty.project/tests
Simone Bordet 87c24e7258
Fixes #8405 - onAllDataRead() is called twice under h2 if the stream … (#10174)
* Fixes #8405 - onAllDataRead() is called twice under h2 if the stream times out

Per Servlet semantic, HTTP/2 stream timeout should be ignored.

The code was trying to fail the read via `_contentDemander.onTimeout()`, but
then it was still calling `onContentProducible()`, which was returning `true`
because the state of the read was IDLE (all the request content was read) and
the request was suspended.

Now the code checks if the read was really failed; if it is not, then
`onContentProducible()` is not called and so the idle timeout is ignored.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-31 15:13:50 +02:00
..
jetty-home-tester Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
jetty-http-tools Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
jetty-jmh Update to bundle-plugin-5.1.9 (#9954) 2023-06-29 14:41:04 +02:00
test-cdi Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
test-distribution Update plexus-utils to 4.0.0 (#9958) 2023-06-29 12:56:36 +02:00
test-http-client-transport Fixes #8405 - onAllDataRead() is called twice under h2 if the stream … (#10174) 2023-07-31 15:13:50 +02:00
test-integration Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
test-jmx Fixes #9795 - jetty-slf4j-impl is non-optional on some modules (#9800) 2023-06-05 06:37:05 -05:00
test-jpms Fixes #9795 - jetty-slf4j-impl is non-optional on some modules (#9800) 2023-06-05 06:37:05 -05:00
test-loginservice Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
test-quickstart Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
test-sessions Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
test-webapps Fixes #9795 - jetty-slf4j-impl is non-optional on some modules (#9800) 2023-06-05 06:37:05 -05:00
test-websocket-autobahn Update plexus-utils to 4.0.0 (#9958) 2023-06-29 12:56:36 +02:00
pom.xml Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00