This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 8a79e7e Remove redundant response message
8a79e7e is described below
commit 8a79e7e9ba6da713071a33c959f8d82466ccea97
Author: Michael Osipov <[email protected]>
AuthorDate: Fri Apr 17 20:58:09 2020 +0200
Remove redundant response message
---
java/org/apache/catalina/connector/CoyoteAdapter.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java
b/java/org/apache/catalina/connector/CoyoteAdapter.java
index ccea6a5..c7e7ca4 100644
--- a/java/org/apache/catalina/connector/CoyoteAdapter.java
+++ b/java/org/apache/catalina/connector/CoyoteAdapter.java
@@ -790,7 +790,6 @@ public class CoyoteAdapter implements Adapter {
// so no context could be mapped.
if (request.getContext() == null) {
res.setStatus(404);
- res.setMessage("Not found");
// No context, so use host
Host host = request.getHost();
// Make sure there is a host (might not be during shutdown)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]