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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to