Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins 0495bb896e Issue #1074
Removed wake() call from within pollContent
Instead the EOF status is evaluated :
 - when setReadListener is called
 - when read returns -1
 - when run() is called before calling either onDataAvailable or onAllDataRead

Squashed commit of the following:

commit 6a345356998331a90e60c7ee8ee590920464c72f
Merge: 92bc0e9 60d9001
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 09:46:23 2016 +1100

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1074

commit 92bc0e9f3aafdce2f4aa7b2fde31affc942be042
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 18:24:00 2016 +1100

    Issue #1074

    Do not do async IO callbacks if completed

commit ee220a12d1e6c5f6e39b4597a209c5043aa775cf
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 16:22:55 2016 +1100

    Issue #1074

    Turned off debug
    improved proxy test to be able to run with debug on

commit e2fb0b9ef1ec422a2c82cb388820581e359234ba
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 15:37:27 2016 +1100

    Issue #1074

    Improved test cases
    Handle early EOF

commit 3c47c022fe7e48f82e41d9a208073b64cfeb5af7
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 12:28:15 2016 +1100

    provisional implementation
2016-11-07 15:01:39 +11: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.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
apache-jsp Issue #1032 2016-10-27 11:10:03 +11:00
apache-jstl Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
examples Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-alpn Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-26 11:13:03 +02:00
jetty-annotations Issue #1018 2016-10-21 16:38:47 +11:00
jetty-ant Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
jetty-cdi Issue#1066 Simplify HttpGeneration 2016-11-03 16:55:33 +11:00
jetty-client Fixed compilation failure. 2016-11-04 12:19:48 +01:00
jetty-continuation Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-deploy Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-distribution Improve logging modules and listing #984 2016-10-20 11:02:06 +11:00
jetty-documentation Doc on upgrading 9.3 to 9.4 2016-11-05 11:59:06 +11:00
jetty-fcgi Issue #1045 abort connections with non matching content-length 2016-10-28 15:36:19 +11:00
jetty-gcloud Overlay directories for modules #1013 2016-10-20 17:44:39 +11:00
jetty-home Removed unnecessary files. 2016-10-19 20:46:59 +02:00
jetty-http Issue#1066 Simplify HttpGeneration 2016-11-04 08:29:49 +11:00
jetty-http-spi Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
jetty-http2 Issue#1066 Simplify HttpGeneration 2016-11-03 16:55:33 +11:00
jetty-infinispan cleanup infinispan module #1013 2016-10-20 23:59:22 +11:00
jetty-io Code cleanup. 2016-11-03 11:44:49 +01:00
jetty-jaas Merge branch 'release-9.3.13' into jetty-9.3.x 2016-10-20 09:25:57 -07:00
jetty-jaspi Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-jmx Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-jndi Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-jspc-maven-plugin Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
jetty-maven-plugin Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
jetty-memcached Normalize tags #998 2016-10-13 10:06:17 +11:00
jetty-monitor Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-nosql Issue #1017 2016-10-20 12:38:05 +11:00
jetty-osgi Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
jetty-overlay-deployer Happy New Year 2016 2016-01-04 14:34:20 -07:00
jetty-plus Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-proxy Issue #1074 2016-11-07 15:01:39 +11:00
jetty-quickstart Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-28 10:55:03 +11:00
jetty-rewrite Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-runner Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-security Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-server Issue #1074 2016-11-07 15:01:39 +11:00
jetty-servlet Issue#1066 Simplify HttpGeneration 2016-11-03 16:55:33 +11:00
jetty-servlets Issue#1066 Simplify HttpGeneration 2016-11-03 16:55:33 +11:00
jetty-spring Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
jetty-start Windows test case fix 2016-10-31 11:34:19 -07:00
jetty-unixsocket Normalize tags #998 2016-10-13 10:06:17 +11:00
jetty-util Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-03 16:56:21 +11:00
jetty-util-ajax Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
jetty-webapp Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-21 16:37:13 +11:00
jetty-websocket Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-11-04 10:25:25 -07:00
jetty-xml Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
logos Adding logos 2016-07-08 08:45:26 -07:00
scripts Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-17 12:01:45 +11:00
tests Issue #1074 2016-11-07 15:01:39 +11:00
.gitattributes More fixes for Windows build 2013-11-04 16:50:18 -07:00
.gitignore Adding <c:catch> JSTL test cases 2015-07-23 16:11:16 -07:00
CONTRIBUTING.md fix some merge issues, some example javadoc that was never right and contributing language 2016-02-26 08:13:41 -06:00
Jenkinsfile Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-10-20 15:11:25 -07:00
LICENSE-eplv10-aslv20.html 392237 renamed license file 2012-10-18 14:33:23 +11:00
NOTICE.txt Happy New Year 2016 2016-01-04 14:31:22 -07:00
README.md Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-07-20 15:17:57 -05:00
VERSION.txt Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 09:57:49 -07:00
header-template.txt Fixes #487 - JDK 9 build compatibility. 2016-06-06 21:28:51 +02:00
pom.xml Issue #907 2016-10-27 16:15:44 +11:00

README.md

Eclipse Jetty Canonical Repository

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

Build Status

  • Master Branch - Build Status
  • Jetty 9.3.x Branch - Build Status
  • Jetty 9.2.x Branch - Build Status

Make sure you have a CLA 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 -Dmaven.test.skip=true install but note that this will not produce some of the test jars that are leveraged in other places in the build.

Professional Services

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