mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-23 16:05:00 +00:00
Before: changes were submitted, but if this happened in the selector thread, then they were executed immediately. This lead to recursion: the run of a change submitted another change, which was run, which submitted a change, etc. To avoid StackOverFlowException, a ForkInvoker was used, breaking the stack after 4 recursive calls. The reason for this was to avoid to queue a change that could have been run in place, but costs probably it costs more than what it saves. Current: changes are now always queued. This avoids recursion and the need for a ForkInvoker, making the code simpler. Instead of recursing we now iterate over the queue of changes.
This is a source checkout of the Jetty webserver. To build, use: mvn clean install The jetty distribution will be built in jetty-distribution/target/distribution The first build may take a long time as Maven downloads all the dependencies. The 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. Bypass tests by building with -Dmaven.test.skip=true but note that this will not produce some test jars that are leveraged in other places in the build.
Description
Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
eclipseembeddedfcgihttphttp-clienthttp-serverhttp2http2-pushhttp3httpsjakartaeejavajettyjsposgiservletssltlsunix-socketwebsockets
Readme
Multiple Licenses
369 MiB
Languages
Java
98.9%
AMPL
0.4%
JavaScript
0.4%
Shell
0.1%
HTML
0.1%