Skip to content

Commit c3b7d77

Browse files
committed
Update description for servlet server config prop
Signed-off-by: Chris Bono <[email protected]>
1 parent ba4427b commit c3b7d77

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spring-grpc-docs/src/main/antora/modules/ROOT/partials/_configprops.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@
4040
|spring.grpc.server.observations.enabled | `+++true+++` | Whether to enable Observations on the server.
4141
|spring.grpc.server.port | `+++9090+++` | Server port to listen on. When the value is 0, a random available port is selected. The default is 9090.
4242
|spring.grpc.server.reflection.enabled | `+++true+++` | Whether to enable Reflection on the gRPC server.
43+
|spring.grpc.server.security.csrf.enabled | `+++false+++` | Whether to enable CSRF protection on gRPC requests.
44+
|spring.grpc.server.servlet.enabled | `+++true+++` | Whether to use a servlet server in a servlet-based web application. When the value is false, a native gRPC server will be forced.
4345
|spring.grpc.server.shutdown-grace-period | `+++30s+++` | Maximum time to wait for the server to gracefully shutdown. When the value is negative, the server waits forever. When the value is 0, the server will force shutdown immediately. The default is 30 seconds.
4446
|spring.grpc.server.ssl.bundle | | SSL bundle name.
4547
|spring.grpc.server.ssl.client-auth | `+++none+++` | Client authentication mode.
4648
|spring.grpc.server.ssl.enabled | | Whether to enable SSL support. Enabled automatically if "bundle" is provided unless specified otherwise.
4749
|spring.grpc.server.ssl.secure | `+++true+++` | Flag to indicate that client authentication is secure (i.e. certificates are checked). Do not set this to false in production.
4850

49-
|===
51+
|===

spring-grpc-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{
2727
"name": "spring.grpc.server.servlet.enabled",
2828
"type": "java.lang.Boolean",
29-
"description": "Whether to use a servlet server in a servlet-based web application (set to false to force a native gRPC server).",
29+
"description": "Whether to use a servlet server in a servlet-based web application. When the value is false, a native gRPC server will be forced.",
3030
"defaultValue": true
3131
},
3232
{

0 commit comments

Comments
 (0)