You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ public class ServerProperties {
83
83
privateStringserverHeader;
84
84
85
85
/**
86
-
* Maximum size, in bytes, of the HTTP message header.
86
+
* Maximum size in bytes of the HTTP message header.
87
87
*/
88
88
privateintmaxHttpHeaderSize = 0; // bytes
89
89
@@ -417,22 +417,22 @@ public static class Tomcat {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,14 @@ content into your application. Rather, pick only the properties that you need.
73
73
# SPRING CACHE ({sc-spring-boot-autoconfigure}/cache/CacheProperties.{sc-ext}[CacheProperties])
74
74
spring.cache.cache-names= # Comma-separated list of cache names to create if supported by the underlying cache manager.
75
75
spring.cache.caffeine.spec= # The spec to use to create caches. See CaffeineSpec for more details on the spec format.
76
-
spring.cache.couchbase.expiration=0ms # Entry expiration. By default the entries never expire. Note that this value is ultimately converted to seconds.
76
+
spring.cache.couchbase.expiration= # Entry expiration. By default the entries never expire. Note that this value is ultimately converted to seconds.
77
77
spring.cache.ehcache.config= # The location of the configuration file to use to initialize EhCache.
78
78
spring.cache.infinispan.config= # The location of the configuration file to use to initialize Infinispan.
79
79
spring.cache.jcache.config= # The location of the configuration file to use to initialize the cache manager.
80
80
spring.cache.jcache.provider= # Fully qualified name of the CachingProvider implementation to use to retrieve the JSR-107 compliant cache manager. Needed only if more than one JSR-107 implementation is available on the classpath.
spring.cache.redis.time-to-live=0ms # Entry expiration. By default the entries never expire.
83
+
spring.cache.redis.time-to-live= # Entry expiration. By default the entries never expire.
84
84
spring.cache.redis.use-key-prefix=true # Whether to use the key prefix when writing to Redis.
85
85
spring.cache.type= # Cache type. By default, auto-detected according to the environment.
86
86
@@ -235,16 +235,18 @@ content into your application. Rather, pick only the properties that you need.
235
235
server.tomcat.accesslog.rotate=true # Whether to enable access log rotation.
236
236
server.tomcat.accesslog.suffix=.log # Log file name suffix.
237
237
server.tomcat.additional-tld-skip-patterns= # Comma-separated list of additional patterns that match jars to ignore for TLD scanning.
238
-
server.tomcat.background-processor-delay=10 # Delay in seconds between the invocation of backgroundProcess methods.
238
+
server.tomcat.background-processor-delay=10s # Delay between the invocation of backgroundProcess methods. If a duration suffix is not specified, seconds will be used.
239
239
server.tomcat.basedir= # Tomcat base directory. If not specified, a temporary directory is used.
172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3} # Regular expression matching trusted IP addresses.
247
-
server.tomcat.max-connections=10000 # Maximum number of connections that the server will accept and process at any given time.
246
+
172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3}\\
247
+
0:0:0:0:0:0:0:1\\
248
+
::1 # Regular expression that matches proxies that are to be trusted.
249
+
server.tomcat.max-connections=10000 # Maximum number of connections that the server accepts and processes at any given time
248
250
server.tomcat.max-http-header-size=0 # Maximum size in bytes of the HTTP message header.
249
251
server.tomcat.max-http-post-size=2097152 # Maximum size in bytes of the HTTP post content.
250
252
server.tomcat.max-threads=200 # Maximum amount of worker threads.
@@ -264,7 +266,7 @@ content into your application. Rather, pick only the properties that you need.
264
266
server.undertow.accesslog.rotate=true # Whether to enable access log rotation.
265
267
server.undertow.accesslog.suffix=log # Log file name suffix.
266
268
server.undertow.buffer-size= # Size of each buffer, in bytes.
267
-
server.undertow.direct-buffers= # Allocate buffers outside the Java heap. The default is derived from the maximum amount of memory that is available to the JVM.
269
+
server.undertow.direct-buffers= # Whether to allocate buffers outside the Java heap. The default is derived from the maximum amount of memory that is available to the JVM.
268
270
server.undertow.eager-filter-init=true # Whether servlet filters should be initialized on startup.
269
271
server.undertow.io-threads= # Number of I/O threads to create for the worker. The default is derived from the number of available processors.
270
272
server.undertow.max-http-post-size=-1 # Maximum size in bytes of the HTTP post content. When the value is -1, the default, the size is unlimited.
0 commit comments