You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2014/01/04 20:02:54 UTC

svn commit: r1555402 - /tomcat/jk/trunk/native/common/jk_ajp_common.c

Author: rjung
Date: Sat Jan  4 19:02:53 2014
New Revision: 1555402

URL: http://svn.apache.org/r1555402
Log:
Fix debug message about byte count to resend.

Modified:
    tomcat/jk/trunk/native/common/jk_ajp_common.c

Modified: tomcat/jk/trunk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_ajp_common.c?rev=1555402&r1=1555401&r2=1555402&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_ajp_common.c (original)
+++ tomcat/jk/trunk/native/common/jk_ajp_common.c Sat Jan  4 19:02:53 2014
@@ -1708,7 +1708,7 @@ static int ajp_send_request(jk_endpoint_
         jk_log(l, JK_LOG_DEBUG,
                "(%s) request body to send %" JK_UINT64_T_FMT " - request body to resend %d",
                ae->worker->name, ae->left_bytes_to_send,
-               op->reply->len - AJP_HEADER_LEN);
+               op->post->len > AJP_HEADER_LEN ? op->post->len - AJP_HEADER_LEN : 0);
 
     /*
      * POST recovery job is done here and will work when data to



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org