tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4 CoyoteResponse.java
Date Tue, 09 Apr 2002 17:46:08 GMT
> costin      02/04/09 10:26:07
>
>   Modified:    coyote/src/java/org/apache/coyote/tomcat4
>                         CoyoteResponse.java
>   Log:
>   Remy, I think response.finish() must be called - otherwise
>   we get no COMMIT callback. I put a workaround in ajp, but if this is
>   correct behavior it's better to fix it here too.
>
>    public class CoyoteResponse
>   @@ -485,6 +485,7 @@
>            throws IOException {
>            // Writing leftover bytes
>            outputBuffer.close();
>   +        coyoteResponse.finish();
>        }

This is called no matter what right after in the processing loop. Calling it
twice is a bad idea.

Remy


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message