You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/05/06 19:56:01 UTC

DO NOT REPLY [Bug 19704] New: - CGI program output being corrupted

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19704

CGI program output being corrupted

           Summary: CGI program output being corrupted
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlets:CGI
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: admin@knowitsoft.com
                CC: admin@knowitsoft.com


Hi

I have a CGI program that takes a set of parameters in, builds a graph, saves 
it to a JPEG file then reads the jpeg file back writing it to the standard 
output port.

This has worked fine on all versions of IIS it has been run on but when I run 
it on Tomcat v4.1 on Windows NT workstation 4 it corrupts the data stream 
being sent to the web client. The JPG files generated on the web server can be 
opened with no problem and looks fine, however the image presented on the web 
client is garbled. I have saved the image at the web client and file compared 
it in binary mode to the jpeg on the server and it appears that ascii 
character 63  or ? is sporadically overwriting bytes in the jpeg data stream. 
Enough to corrupt the whole image. Note the file size of the server JPG and 
the client saved JPG are identical.

Have you any ideas what could be causing this?

Many thanks in advance
Neil Fuller

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