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=40549>.
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=40549

           Summary: HSE_REQ_SEND_RESPONSE_HEADER doesn't send header and
                    crashes httpd
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: mod_isapi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


This is with the mod_iaspi 416293 update

I call ServerSupportFunction(pcrequestParams->m_pECB->ConnID, 
HSE_REQ_SEND_RESPONSE_HEADER, NULL, &dwSize, (LPDWORD)szHeader))
dwSize is 3e
szHeader is "Content-length: 35\r\nContent-type: text/html; charset=utf-8
\r\n\r\n"

When you trace the code, send_response_header returns a 3e.  It appears that 
the header isn't processed.

At line 920, the statement else if ((apr_size_t)ate < headlen) { is false. 
(ate==headlen).  The code then drops to the next case statement for 
HSE_REQ_DONE_WITH_SESSION.  Since my context previously returned a 
STATUS_PENDING, it attempts to complete the connection and releases the 
context.  The calling app still thinks the context is valid and the server 
crashes.

-- 
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