This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 73af3f8ce4 Partial revert of 6fd26942
73af3f8ce4 is described below
commit 73af3f8ce4d357c42eb0531d9603d7d916a8eb0d
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Sep 30 13:13:05 2026 +0100
Partial revert of 6fd26942
Still attempt to close the underlying buffer if there was an earlier
error.
---
java/org/apache/catalina/connector/CoyoteWriter.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/java/org/apache/catalina/connector/CoyoteWriter.java
b/java/org/apache/catalina/connector/CoyoteWriter.java
index 06a41338ed..ca0c80832d 100644
--- a/java/org/apache/catalina/connector/CoyoteWriter.java
+++ b/java/org/apache/catalina/connector/CoyoteWriter.java
@@ -111,10 +111,6 @@ public class CoyoteWriter extends PrintWriter {
@Override
public void close() {
- if (error) {
- return;
- }
-
// We don't close the PrintWriter - super() is not called,
// so the stream can be reused. We close ob.
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]