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 8740] New: - WriteClient can't send lower characters then 20h ASCII?
Date Thu, 02 May 2002 13:47:12 GMT
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=8740>.
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=8740

WriteClient can't send lower characters then 20h ASCII?

           Summary: WriteClient can't send lower characters then 20h ASCII?
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_isapi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jira.novak@gecapital.com


WriteClient can't send lower characters then 20h ASCII?

This code return nothing:

CString header("Content-type: text/plain\r\n");
DWORD dwSize = header.GetLength();
pCtxt->ServerSupportFunction( HSE_REQ_SEND_RESPONSE_HEADER,
NULL, &dwSize, (unsigned long *)(LPCTSTR)header ); 
DWORD len = 3;
pCtxt->WriteClient( "\x00zz", &len, 0 );



If you send 32 and more characters >= 20h before sending character < 20h
you can see result:

CString header("Content-type: text/plain\r\n");
DWORD dwSize = header.GetLength();
pCtxt->ServerSupportFunction( HSE_REQ_SEND_RESPONSE_HEADER,
NULL, &dwSize, (unsigned long *)(LPCTSTR)header ); 
#define ALEN 32
char acka[ALEN];
memset( acka, 'A', ALEN );
len = ALEN;
pCtxt->WriteClient( acka, &len, 0 );
DWORD len = 3;
pCtxt->WriteClient( "\x00zz", &len, 0 );


Send me reply, where in code is error please and when can I download corrected 
version from your web site.
Thank you
Jiri Novak

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


Mime
View raw message