www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject other/2594: JServSSI doesn't close the output stream
Date Sun, 12 Jul 1998 06:28:04 GMT

>Number:         2594
>Category:       other
>Synopsis:       JServSSI doesn't close the output stream
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Jul 11 23:30:01 PDT 1998
>Last-Modified:
>Originator:     hans@gefionsoftware.com
>Organization:
apache
>Release:        JServ 0.9.11/Apache 1.3.0
>Environment:
Any OS, problem in Java code
>Description:
The output stream should be closed after processing the jhtml
file in JServSSI.doGet(). Otherwise all output may not be sent
to the client.
>How-To-Repeat:
Try a jhtml page with a couple of <SERVLET> calls to Servlets that do
not close the stream.
>Fix:
Adding the line
  res.getOuputStream().close();
at the end of JServSSI.doGet() fixes this.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message