Skip to content

Commit 62610b7

Browse files
authored
Update README (#239)
1 parent 9149a90 commit 62610b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 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
44
embedded servlet container in Jenkins (via [executable-war](https://github.com/jenkinsci/extras-executable-war) module)
55
and can be used by any other web applications that wants to be self-contained.
66

@@ -52,7 +52,7 @@ To run different web applications for diffent virtual hosts:
5252

5353
## Command-line options
5454

55-
Winstone Servlet Engine v4.0, (c) 2003-2006 Rick Knowles
55+
Winstone Servlet Engine, (c) 2003-2006 Rick Knowles
5656
Usage: java winstone.jar [--option=value] [--option=value] [etc]
5757

5858
Required options: either --webroot OR --warfile OR --webappsDir OR --hostsDir
@@ -105,6 +105,8 @@ To run different web applications for diffent virtual hosts:
105105
--sessionEviction = set the session eviction timeout for idle sessions in seconds. Default value is 180. -1 never evict, 0 evict on exit
106106
--mimeTypes=ARG = define additional MIME type mappings. ARG would be EXT=MIMETYPE:EXT=MIMETYPE:...
107107
(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.
108110
--maxParamCount=N = set the max number of parameters allowed in a form submission to protect
109111
against hash DoS attack (oCERT #2011-003). Default is 10000.
110112
--useJmx = Enable Jetty Jmx

0 commit comments

Comments
 (0)