httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30024] New: - WriteClient sends more content than requested
Date Sat, 10 Jul 2004 15:41:08 GMT
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=30024>.
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=30024

WriteClient sends more content than requested

           Summary: WriteClient sends more content than requested
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: mod_isapi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: luckow@eldeo.de


After calling ServerSupportFunction to init a response-header 200 WITH NO 
CONTENT-LENGTH i make successive calls to WriteClient
(connid,block,blocklength,HSE_IO_SYNC) to send blocks of the (long) message-
body. The block-content is known and the blocklength is constant. I exacly send 
blocklength bytes.

What the client gets is: 
  data + CR + LF + "xyz" + CR + LF! 
"xyz" seems to be the length of the block in hex. 

The application works properly under IIS.

Replicable samples: 
blocklength==10 ==> xyz = CR + LF + "a" + CR + LF
blocklength==1024 ==> xyz = CR + LF + "400" + CR + LF
blocklength==1025 ==> xyz = CR + LF + "401" + CR + LF
blocklength==64k ==> xyz = CR + LF + "ffff" + CR + LF

Maybe debug output???

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message