Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins f4e37b1adb
Issue #2014 - Unix Socket Client (#2025)
There are still problems with this impl (some client tests ignored) and there is still a work around for the JNR bug 50, however this impl is already much better than the unix socket support that is already in the release.  So will merge for now and put more effort in once there is a JNR fix.

* WIP add unix domain sockets support in HttpClient
* move unix socket client part to unix socket module #2014
* some cleanup #2014
* add missing headers #2014
* add TODO
* UnixSocket client refactor
* cleanup test and pom
* minor changes, use LOG.isDebugEnabled() before using debug method
* add UNIX SOCKET http client test with all other tests, push this to see what happen on Jenkins
* fix some unit tests
* fix more tests
* fix load test
* UnixSocket client
* Demonstrate JNR bug
* Worked around JNR bug 50
* close channel on client side as well
* more details in log
* log file path as well
* #2014 disable test per default as doesn't work on some environement
* Revert "#2014 disable test per default as doesn't work on some environement"
* test only on unix
* Allow test of specific transport(s)
* Move unix socket to /tmp
* move test socket to /tmp
* move test socket to /tmp
* ignore failing tests for now
* fix bean name and possible to use sys prop org.eclipse.jetty.http.client.AbstractTest.Transports with mvn cli
* test isBlank as surefire props is not null
* correctly create tmp file with @Before
* do not delete file
* use /tmp as build directory doesn't seem to work within docker...
* do not delete sock file on client as it is own by the server
* file must not exist when binding unix socket
* #2014 fix license header
* network specific tests assumed
* Fixed to handle null selector keys
* add assume for tests that assume a network connector

Signed-off-by: olivier lamy <olamy@webtide.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-13 11:59:47 +01: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.9-SNAPSHOT 2017-11-21 13:11:31 -07:00
apache-jsp Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
apache-jstl Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
examples Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-alpn Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-annotations Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-ant Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-bom Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-cdi Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-client Issue #2014 - Unix Socket Client (#2025) 2018-01-13 11:59:47 +01:00
jetty-continuation Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-deploy Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-distribution Updating to version 9.4.9-SNAPSHOT 2017-11-21 13:11:31 -07:00
jetty-documentation Merge pull request #2071 from H1Gdev/doc 2017-12-20 08:23:17 -06:00
jetty-fcgi Jetty 9.4.x #1918 scalable scheduler3 (#2101) 2018-01-10 16:56:41 +01:00
jetty-gcloud Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-hazelcast Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-home Use shaded utils in start for JavaVersion and TopologicalSort #2090 (#2094) 2018-01-06 11:23:37 +01:00
jetty-http Better name for no HTTP/0.9 #2022 2018-01-12 18:33:46 +01:00
jetty-http-spi Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-http2 Jetty 9.4.x #1918 scalable scheduler3 (#2101) 2018-01-10 16:56:41 +01:00
jetty-infinispan Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-io Issue #2014 - Unix Socket Client (#2025) 2018-01-13 11:59:47 +01:00
jetty-jaas Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-jaspi Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-jmx Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-jndi Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-jspc-maven-plugin Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-maven-plugin Issue #2080 Exclude cdi packages coming from maven plugin dependencies (#2084) 2018-01-12 18:56:00 +01:00
jetty-memcached Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-monitor Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-nosql Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-osgi Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-overlay-deployer Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-plus Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-proxy Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-quickstart Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-rewrite Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-runner Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-security Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-server Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes 2018-01-11 10:31:30 +01:00
jetty-servlet Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes 2018-01-10 22:25:49 +01:00
jetty-servlets Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-spdy Issue #2108 - Upgrade licenses for 2018 2018-01-09 07:42:06 -06:00
jetty-spring Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-start Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-unixsocket Issue #2014 - Unix Socket Client (#2025) 2018-01-13 11:59:47 +01:00
jetty-util Jetty 9.4.x #1918 scalable scheduler3 (#2101) 2018-01-10 16:56:41 +01:00
jetty-util-ajax Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
jetty-webapp Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-websocket Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
jetty-xml Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06: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 2017-10-17 14:08:36 +11:00
tests Issue #2014 - Unix Socket Client (#2025) 2018-01-13 11:59:47 +01:00
.gitattributes Updating .gitattributes 2017-08-08 09:14:22 -07:00
.gitignore Adding <c:catch> JSTL test cases 2015-07-23 16:11:16 -07:00
CONTRIBUTING.md Updating to reflect changes to Eclipse Contributor Agreement. 2017-08-17 15:03:46 -04:00
Jenkinsfile Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-08-16 05:05:58 -07:00
KEYS.txt Updating gpg/pgp KEYS.txt 2016-11-16 07:58:39 -07:00
LICENSE-eplv10-aslv20.html 392237 renamed license file 2012-10-18 14:33:23 +11:00
NOTICE.txt Happy New Year 2017. 2017-01-19 19:26:41 +01:00
README.md Minor update to README 2017-08-09 14:41:25 -07:00
VERSION.txt Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2018-01-05 11:12:25 +01:00
header-template.txt Fixes #487 - JDK 9 build compatibility. 2016-06-06 21:28:51 +02:00
pom.xml Issue #2014 - Unix Socket Client (#2025) 2018-01-13 11:59:47 +01: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 -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.