ASF Bugzilla – Attachment 3132 Details for
Bug 8329
mime_magic gives 500 and no error_log on Microsoft .ANI cursor files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
log an error when mod_mime_magic returns the dreaded 500 error
patch (text/plain), 887 bytes, created by
Jeff Trawick
on 2002-09-19 09:50:35 UTC
(
hide
)
Description:
log an error when mod_mime_magic returns the dreaded 500 error
Filename:
MIME Type:
Creator:
Jeff Trawick
Created:
2002-09-19 09:50:35 UTC
Size:
887 bytes
patch
obsolete
>Index: src/modules/standard/mod_mime_magic.c >=================================================================== >RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_mime_magic.c,v >retrieving revision 1.48 >diff -u -r1.48 mod_mime_magic.c >--- src/modules/standard/mod_mime_magic.c 18 Jun 2002 01:00:00 -0000 1.48 >+++ src/modules/standard/mod_mime_magic.c 19 Sep 2002 09:46:26 -0000 >@@ -832,9 +832,13 @@ > r->content_encoding = tmp; > } > >- /* detect memory allocation errors */ >+ /* detect memory allocation or other errors */ > if (!r->content_type || > (state == rsl_encoding && !r->content_encoding)) { >+ ap_log_rerror(APLOG_MARK, APLOG_NOERRNO | APLOG_ERR, r, >+ MODNAME ": unexpected state %d; could be caused by bad " >+ "data in magic file", >+ state); > return HTTP_INTERNAL_SERVER_ERROR; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8329
: 3132