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 14410] - HSE_REQ_SEND_RESPONSE_HEADER always returns Internal Server Error
Date Sat, 09 Nov 2002 22:00:27 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=14410>.
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=14410

HSE_REQ_SEND_RESPONSE_HEADER always returns Internal Server Error

detlev.vendt@brillit.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Other                       |Medium



------- Additional Comments From detlev.vendt@brillit.de  2002-11-09 22:00 -------
I have played around a bit more with that, and now I'm absolutely confused...

1) I found a situation in debugger, where ap_scan_script_header_err_core() will 
return zero (not causing an error 500 (in cid->r->status )...)

2) I found some strange behaviour on using TransmitFile(), what looks like 1). 
Here the first request is served well (my picture appears :), any subsequent 
request hangs or gives the knows status 'OK' with an internal server error. 
TransmitFile-Call is called this way:

DWORD dwLength = GetFileSize(hFile, NULL);
DWORD dwFlags  = HSE_IO_DISCONNECT_AFTER_SEND | HSE_IO_SEND_HEADERS; 
strHeader.Format( 
   _T("HTTP/1.1 200 OK\r\nContent-Type: %s\r\nContent-Length: %d\r\n"), 
   pstrContentType, dwLength); 

bResult = pCtxt->TransmitFile(hFile, dwFlags, 
   (LPVOID)(LPCTSTR) strHeader);

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


Mime
View raw message