Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Joakim Erdfelt 34e38d2156
Issue #8822 - Fix NPE seen on `deflater.reset()` when called after `deflater.end()` (#8881)
* Issue #8822 - NPE on deflater.reset() called after deflater.end()

Now waiting for the server to finish writing even in case of HEAD method,
otherwise the test exit races with the server finishing to fake-write the response content.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-10 18:42:11 +01:00
.github add back dependabot for 9.4.x branch and force timezone to try get this done on weekend (#8820) 2022-11-02 14:56:13 +10:00
.mvn Enable errorprone and spotbugs for java 17 (#7604) 2022-02-17 10:12:01 +10:00
apache-jsp merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
apache-jstl merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
build-resources merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
demos Update in response to PR comments. 2022-10-24 13:17:25 -04:00
documentation Merge pull request #8787 from eclipse/jetty-10.0.x-8786-KeyStoreScanner-Symlink 2022-11-10 17:17:59 +11:00
javadoc Bump log4j2 to 2.19.0 (#8605) 2022-09-22 17:38:48 +10:00
jetty-alpn merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-annotations merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-ant merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-bom merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-cdi merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-client Fixes #8770 - Review whether to send request body in redirects. (#8775) 2022-11-08 21:54:20 +01:00
jetty-deploy Jetty 10 - Improve test reliability (#8868) 2022-11-07 16:16:25 -06:00
jetty-fcgi merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-gcloud Bump google-cloud-datastore from 2.11.0 to 2.11.4 2022-10-01 02:05:37 +00:00
jetty-hazelcast Allow to pass instances of ClientConfig and Config to Hazelcast data store factory (#8600) 2022-09-22 07:38:28 +10:00
jetty-home Bump log4j2 to 2.19.0 (#8605) 2022-09-22 17:38:48 +10:00
jetty-http Issue #8716 - Handle bad host/authority headers better (#8717) 2022-11-08 18:08:20 -06:00
jetty-http-spi merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-http2 Fixed flakyness of GracefulShutdownTest by explicitly setting the Connector shutdownIdleTimeout to a large value that does not interfere with the tests. 2022-11-09 12:13:27 +01:00
jetty-http3 merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-infinispan Bump log4j2 to 2.19.0 (#8605) 2022-09-22 17:38:48 +10:00
jetty-io #8695: move client address binding to QuicClientConnectorConfigurator 2022-10-18 09:14:04 +02:00
jetty-jaas merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-jaspi merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-jmx merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-jndi merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-jspc-maven-plugin merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-keystore Bump jetty-test-helper from 5.9 to 6.0 (#8636) 2022-10-01 15:07:42 -05:00
jetty-maven-plugin Issue #8576 use jackson bom 2022-10-04 18:11:02 +10:00
jetty-memcached merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-nosql merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-openid Issue #8330 - fix persistence of sessions in OpenID 2022-11-01 12:01:24 +11:00
jetty-osgi Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi.services-3.11.0' into dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi.services-3.11.0 2022-10-01 18:17:03 -05:00
jetty-p2 Bump tycho-p2-repository-plugin from 2.7.5 to 3.0.0 (#8652) 2022-10-02 07:37:34 -05:00
jetty-plus merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-proxy Fixes #7117 - Timeout with Expect 100 continue when using ProxyServlet. (#8873) 2022-11-09 12:16:42 +01:00
jetty-quic Jetty 10 - Flag flaky tests to be skipped on CI (#8865) 2022-11-04 14:06:12 -05:00
jetty-quickstart merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-rewrite Issue #8779 - CompactPathRule should not drop query section from modified URI (#8780) 2022-11-02 16:38:50 -05:00
jetty-runner merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-security Merge pull request #8792 from eclipse/jetty-10.0.x-OpenIdSessionSerialization 2022-11-10 16:54:03 +11:00
jetty-server Merge pull request #8787 from eclipse/jetty-10.0.x-8786-KeyStoreScanner-Symlink 2022-11-10 17:17:59 +11:00
jetty-servlet Issue #8712 Deprecate ELContextCleaner (#8713) 2022-10-17 11:02:16 +11:00
jetty-servlets Issue #8822 - Fix NPE seen on `deflater.reset()` when called after `deflater.end()` (#8881) 2022-11-10 18:42:11 +01:00
jetty-slf4j-impl merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-start Fix directory traversal on bad jar/zip files 2022-10-05 13:26:56 -05:00
jetty-unixdomain-server Update in response to PR comments. 2022-10-24 13:17:25 -04:00
jetty-unixsocket merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-util Fixed javadoc typo. 2022-11-10 16:21:24 +01:00
jetty-util-ajax merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
jetty-webapp Issue #8712 Deprecate ELContextCleaner (#8713) 2022-10-17 11:02:16 +11:00
jetty-websocket Add log.isDebugEnabled() to reduce string allocation (#8743) 2022-10-20 17:28:01 +10:00
jetty-xml merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
logos Issue #4572 - Mechanical Change to use org.slf4j 2020-03-16 15:48:25 -05:00
scripts Fixing release script 2021-10-06 14:23:15 -05:00
tests Merge pull request #8787 from eclipse/jetty-10.0.x-8786-KeyStoreScanner-Symlink 2022-11-10 17:17:59 +11: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
.lgtm.yml Create .lgtm.yml 2021-01-25 15:58:41 -05:00
CODE_COVERAGE.md http-spi test improvement (#62) 2016-05-04 10:56:56 +10:00
CONTRIBUTING.md Testing gpg signature setup 2019-09-25 12:42:32 -05:00
Jenkinsfile Jetty 10 - Flag flaky tests to be skipped on CI (#8865) 2022-11-04 14:06:12 -05:00
Jenkinsfile-autobahn Run WebSocket Autobahn test for all Jetty, Javax and Core APIs (#7430) 2022-01-31 15:29:41 +10:00
Jmh_Jenkinsfile Merge branch 'jetty-9.4.x' into jetty-10.0.x 2019-07-09 12:57:26 +10:00
KEYS.txt add GPG key and developer tag 2020-11-04 17:25:11 +01:00
LICENSE Issue #5784 - Fixing LICENSE file 2020-12-10 15:45:35 -06:00
NOTICE.txt Issue #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 20:10:19 +01:00
README.md Simple Example in README (#6727) 2021-09-09 11:32:16 +10:00
SECURITY.md Update security handling bugzilla to gitlab (#8104) 2022-06-03 06:08:02 -05:00
VERSION.txt merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00
header-template.txt Issue #5784 - Cleaning up source header template 2020-12-10 15:46:28 -06:00
pom.xml Bump jboss-logmanager from 2.1.18.Final to 2.1.19.Final 2022-11-04 20:42:12 +00: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.

Webapp Example

$ mkdir base && cd base
$ java -jar $JETTY_HOME/start.jar --add-modules=http,deploy
$ cp ~/src/myproj/target/mywebapp.war webapps
$ java -jar $JETTY_HOME/start.jar 

Embedded Example

Server server = new Server(port);
ServletContextHandler context = new ServletContextHandler(server, "/");
context.addServlet(MyServlet.class, "/*");
server.start();

Documentation

Project documentation is available on the Jetty Eclipse website.

Building

To build, use:

  mvn clean install

Eclipse Jetty will be built in jetty-home/target/jetty-home.

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.