DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32431>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32431

           Summary: Misc errors in CGIServlet
           Product: Tomcat 5
           Version: 5.0.30
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlets:CGI
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


-------------------------------------- Begin At Line 1668 
if(contentStream != null) {
      commandsStdIn = new BufferedOutputStream(proc.getOutputStream());
      proc.getOutputStream().write(contentStream.toByteArray());
      commandsStdIn.flush();
      commandsStdIn.close();
}
-------------------------------------- End
should probably be:
-------------------------------------- Begin At Line 1668 
if(contentStream != null) {
      commandsStdIn = new BufferedOutputStream(proc.getOutputStream());
      commandsStdIn.write(contentStream.toByteArray());
      commandsStdIn.flush();
      commandsStdIn.close();
}
-------------------------------------- End


Line 1793:
-------------------------------------- Begin At Line Line 1793
while ((line = rdr.readLine()) != null) {
      log("runCGI (stderr):" +  line) ;
}
lineCount++ ;
-------------------------------------- End
should probably be:
-------------------------------------- Begin At Line Line 1793
while ((line = rdr.readLine()) != null) {
      log("runCGI (stderr):" +  line) ;
      lineCount++ ;
}
-------------------------------------- End

The first issue is part of bug 32430, except the large file stuff looks fixed.
The second issue is bug 32429

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to