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 2002/11/09 23:00:27 UTC
DO NOT REPLY [Bug 14410] -
HSE_REQ_SEND_RESPONSE_HEADER always returns Internal Server Error
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