tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1555402 - /tomcat/jk/trunk/native/common/jk_ajp_common.c
Date Sat, 04 Jan 2014 19:02:54 GMT
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


Mime
View raw message