You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/09/19 21:06:43 UTC

DO NOT REPLY [Bug 40549] New: - HSE_REQ_SEND_RESPONSE_HEADER doesn't send header and crashes httpd

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: artk@congruent.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40549] - HSE_REQ_SEND_RESPONSE_HEADER doesn't send header and crashes httpd

Posted by bu...@apache.org.
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


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From wrowe@apache.org  2007-01-03 15:12 -------
ate==headlen is handled in 

http://svn.apache.org/viewvc?view=rev&revision=483613

Thank you for the report, and detailed analysis!

*** This bug has been marked as a duplicate of 40470 ***

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org