Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Simone Bordet c5df807b6d Fixes #5409 - HttpClient fails intermittently with "Invalid response state TRANSIENT".
The problem was a race condition during content decoding.
Since decoding needs to be done in a loop, the condition to loop is to
check whether there is demand for the next chunk of decoded content.

Checking for demand also sets the stalled flag, and this must be done
only after the response state has been set back to CONTENT.
Unfortunately this was not done in the decoding loop.

The fix is to always update the response state in the decoding loop.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-10-13 23:18:26 +02:00
.github too early to test that 2020-10-13 09:51:38 +10:00
LICENSE-CONTRIBUTOR add cla-tbecker.txt 2012-07-17 21:37:33 +02:00
advisories Adding reference to patched versions of jetty-http jars 2015-02-25 16:10:06 -07:00
aggregates Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
apache-jsp Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
apache-jstl Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
build-resources Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
examples Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-alpn Minimal change to setDefaultHostnameVerifier to allow compilation of tests 2020-10-12 06:43:53 -05:00
jetty-annotations Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-ant Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-bom Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-cdi Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-client Fixes #5409 - HttpClient fails intermittently with "Invalid response state TRANSIENT". 2020-10-13 23:18:26 +02:00
jetty-continuation Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-deploy Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-distribution Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-documentation Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-fcgi Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-gcloud Bumping gcloud from 1.0.0 to 1.105.0 2020-10-08 14:59:34 -05:00
jetty-hazelcast Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-home Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-http Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-http-spi Bump jaxws-rt from 2.3.0.2 to 2.3.3 2020-10-05 06:23:07 +00:00
jetty-http2 Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-infinispan Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-io Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-jaas Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-jaspi Bump jaxb-api from 2.3.0 to 2.3.1 (#5431) 2020-10-12 19:35:40 +10:00
jetty-jmh Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-jmx Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-jndi Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-jspc-maven-plugin Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-maven-plugin Bumping gcloud from 1.0.0 to 1.105.0 2020-10-08 14:59:34 -05:00
jetty-memcached Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-nosql Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-openid Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-osgi Issue #5022 Filter Cache cleanup (#5271) 2020-10-05 13:29:11 +02:00
jetty-plus Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-proxy Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-quickstart Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-rewrite Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-runner Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-security Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-server Issue #5417 - Cleanup of PR from Review 2020-10-12 04:50:51 -05:00
jetty-servlet Fixes #5378 Setting Holders during STARTING (#5397) 2020-10-07 23:22:55 +02:00
jetty-servlets Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-spring Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-start Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-unixsocket Generating unixsocket.mod [files] section with help maven-dependency-plugin details 2020-10-08 10:50:16 -05:00
jetty-util Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-util-ajax Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-webapp Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-websocket Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
jetty-xml Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
logos Adding logos 2016-07-08 08:45:26 -07:00
scripts simplify release script to not call goals already triggered by eclipse-release profile 2020-05-31 09:04:59 +10:00
tests Bumping gcloud from 1.0.0 to 1.105.0 2020-10-08 14:59:34 -05:00
.gitattributes Updating attributes 2020-09-25 09:48:38 -05:00
.gitignore Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-3550-QueuedThreadPool-cleanup 2019-04-25 06:53:07 +02:00
CONTRIBUTING.md Testing gpg signature setup 2019-09-25 12:42:32 -05:00
Jenkinsfile jdk15 build 2020-09-18 14:19:28 +10:00
Jmh_Jenkinsfile a bit more time to run all jmh tests 2019-07-09 12:56:53 +10:00
KEYS.txt add olamy key 2020-06-10 16:20:58 +10:00
LICENSE Correcting header text mentioning EPL 2.0, we are not EPL 2.0 yet, we are still EPL 1.0 2019-04-22 09:51:29 -05:00
NOTICE.txt Update Notice (#4395) 2019-12-17 07:40:19 +11:00
README.md Updating http to https 2019-11-05 16:23:49 -06:00
VERSION.txt Updating to version 9.4.33-SNAPSHOT 2020-09-30 11:53:09 -05:00
header-template-doc.txt Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2020-01-07 16:35:05 +01:00
header-template-java.txt Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2020-01-07 16:35:05 +01:00
pom.xml Merge pull request #5429 from eclipse/dependabot/maven/jetty-9.4.x/org.jboss.weld.servlet-weld-servlet-core-3.1.5.Final 2020-10-12 09:41:24 -05:00

README.md

Eclipse Jetty Canonical Repository

This is the canonical repository for the Jetty project, feel free to fork and contribute now!

Submitting a patch or pull request?

Make sure you have an Eclipse Contributor Agreement (ECA) on file.

Project description

Jetty is a lightweight highly scalable java based web server and servlet engine. Our goal is to support web protocols like HTTP, HTTP/2 and WebSocket in a high volume low latency way that provides maximum performance while retaining the ease of use and compatibility with years of servlet development. Jetty is a modern fully async web server that has a long history as a component oriented technology easily embedded into applications while still offering a solid traditional distribution for webapp deployment.

Documentation

Project documentation is available on the Jetty Eclipse website.

Building

To build, use:

  mvn clean install

The Jetty distribution will be built in jetty-distribution/target/distribution.

The first build may take a longer than expected as Maven downloads all the dependencies.

The build tests do a lot of stress testing, and on some machines it is necessary to set the file descriptor limit to greater than 2048 for the tests to all pass successfully.

It is possible to bypass tests by building with mvn clean install -DskipTests.

Professional Services

Expert advice and production support are available through Webtide.com.