File: 0023-disable-shutdown-by-socket.patch

package info (click to toggle)
tomcat10 10.1.34-0%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 46,112 kB
  • sloc: java: 367,834; xml: 56,735; jsp: 4,620; sh: 1,379; perl: 314; makefile: 25; ansic: 15
file content (20 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Emmanuel Bourg <ebourg@apache.org>
Date: Mon, 16 Jan 2023 23:22:18 +0100
Subject: Disables the shutdown port (8005) by default

Forwarded: no
---
 conf/server.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/conf/server.xml
+++ b/conf/server.xml
@@ -19,7 +19,7 @@
      define subcomponents such as "Valves" at this level.
      Documentation at /docs/config/server.html
  -->
-<Server port="8005" shutdown="SHUTDOWN">
+<Server port="-1" shutdown="SHUTDOWN">
   <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
   <!-- Security listener. Documentation at /docs/config/listeners.html
   <Listener className="org.apache.catalina.security.SecurityListener" />