I already had a quick look at it when it was 44495 and couldn't see a
bug right away.
I'll check again, including combining with your TC patch for the status
text, and will report back via BZ.
Regards,
Rainer
[EMAIL PROTECTED] schrieb:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45026
--- Comment #4 from Mark Thomas <[EMAIL PROTECTED]> 2008-05-18 11:27:59 PST ---
Rainer - this might be quicker for you to track down. The following patch
ensures the correct status is returned but the body generated by Tomcat is
disappearing somewhere (I suspect inside mod_jk).
Index: java/org/apache/jk/common/JkInputStream.java
===================================================================
--- java/org/apache/jk/common/JkInputStream.java (revision 657140)
+++ java/org/apache/jk/common/JkInputStream.java (working copy)
@@ -278,6 +278,10 @@
} else {
message = message.replace('\n', ' ').replace('\r', ' ');
}
+ if (message == null) {
+ // mod_jk + httpd 2.x fails with a null status message - bug 45026
+ message = Integer.toString(res.getStatus());
+ }
tempMB.setString( message );
c2b.convert( tempMB );
outputMsg.appendBytes(tempMB);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]