Author: rjung
Date: Tue Feb 23 01:27:47 2010
New Revision: 915123
URL: http://svn.apache.org/viewvc?rev=915123&view=rev
Log:
- Move comment a bit
- Use clear text string values instead of numerics
in debug log message.
Modified:
tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
Modified: tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
URL:
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/jk_isapi_plugin.c?rev=915123&r1=915122&r2=915123&view=diff
==============================================================================
--- tomcat/jk/trunk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/jk/trunk/native/iis/jk_isapi_plugin.c Tue Feb 23 01:27:47 2010
@@ -3015,6 +3015,9 @@
sizeof(CONTENT_LENGTH) - 1)) {
if (need_content_length_header) {
need_content_length_header = FALSE;
+ /* If the content-length is unknown
+ * or larger then 4Gb do not send it.
+ */
if (unknown_content_length || s->is_chunked) {
if (JK_IS_DEBUG_LEVEL(logger)) {
jk_log(logger, JK_LOG_DEBUG,
@@ -3023,9 +3026,6 @@
}
}
else {
- /* If the content-length is unknown
- * or larger then 4Gb do not send it.
- */
s->headers_names[i] = tmp;
}
}
@@ -3116,10 +3116,10 @@
STRNULL_FOR_NULL(s->req_uri));
jk_log(logger, JK_LOG_DEBUG,
"Service request headers=%d attributes=%d "
- "chunked=%d content-length=%" JK_UINT64_T_FMT " available=%u",
+ "chunked=%s content-length=%" JK_UINT64_T_FMT " available=%u",
s->num_headers,
s->num_attributes,
- s->is_chunked,
+ (s->is_chunked == JK_TRUE) ? "yes" : "no",
s->content_length,
private_data->lpEcb->cbTotalBytes);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]