|
1 | 1 | # What is Winstone? |
2 | | -Winstone is a command line interface around Jetty 9.4, which implements |
3 | | -servlet 3.1, WebSocket/JSR-356, and HTTP/2 support. It is used as the default |
| 2 | +Winstone is a command line interface around Jetty 10.0.x, which implements |
| 3 | +Servlet 4.0 (JakartaEE 8/`javax.servlet.*`), WebSocket/JSR-356, and HTTP/2 support. It is used as the default |
4 | 4 | embedded servlet container in Jenkins (via [executable-war](https://github.com/jenkinsci/extras-executable-war) module) |
5 | 5 | and can be used by any other web applications that wants to be self-contained. |
6 | 6 |
|
@@ -52,7 +52,7 @@ To run different web applications for diffent virtual hosts: |
52 | 52 |
|
53 | 53 | ## Command-line options |
54 | 54 |
|
55 | | - Winstone Servlet Engine v4.0, (c) 2003-2006 Rick Knowles |
| 55 | + Winstone Servlet Engine, (c) 2003-2006 Rick Knowles |
56 | 56 | Usage: java winstone.jar [--option=value] [--option=value] [etc] |
57 | 57 |
|
58 | 58 | Required options: either --webroot OR --warfile OR --webappsDir OR --hostsDir |
@@ -105,6 +105,8 @@ To run different web applications for diffent virtual hosts: |
105 | 105 | --sessionEviction = set the session eviction timeout for idle sessions in seconds. Default value is 180. -1 never evict, 0 evict on exit |
106 | 106 | --mimeTypes=ARG = define additional MIME type mappings. ARG would be EXT=MIMETYPE:EXT=MIMETYPE:... |
107 | 107 | (e.g., xls=application/vnd.ms-excel:wmf=application/x-msmetafile) |
| 108 | + --requestHeaderSize=N = set the maximum size in bytes of the request header. Default is 8192. |
| 109 | + --responseHeaderSize=N = set the maximum size in bytes of the response header. Default is 8192. |
108 | 110 | --maxParamCount=N = set the max number of parameters allowed in a form submission to protect |
109 | 111 | against hash DoS attack (oCERT #2011-003). Default is 10000. |
110 | 112 | --useJmx = Enable Jetty Jmx |
|
0 commit comments