Adapt ServerProperties with a default size to DataSize

See gh-13974
This commit is contained in:
Stephane Nicoll
2018-08-12 13:21:29 +02:00
parent 6734e11222
commit e7b5d95681
4 changed files with 15 additions and 10 deletions

View File

@@ -260,7 +260,7 @@ content into your application. Rather, pick only the properties that you need.
server.tomcat.max-connections=0 # Maximum number of connections that the server accepts and processes at any given time.
server.tomcat.max-http-header-size=0 # Maximum size, in bytes, of the HTTP message header.
server.tomcat.max-http-post-size=0 # Maximum size, in bytes, of the HTTP post content.
server.tomcat.max-swallow-size=2097152 # Maximum amount of request body bytes to swallow.
server.tomcat.max-swallow-size=2MB # Maximum amount of request body to swallow.
server.tomcat.max-threads=0 # Maximum number of worker threads.
server.tomcat.min-spare-threads=0 # Minimum number of worker threads.
server.tomcat.port-header=X-Forwarded-Port # Name of the HTTP header used to override the original port value.