tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r439705 - /tomcat/connectors/trunk/jk/java/org/apache/jk/core/MsgContext.java
Date Sun, 03 Sep 2006 02:37:05 GMT
Author: billbarker
Date: Sat Sep  2 19:37:05 2006
New Revision: 439705

URL: http://svn.apache.org/viewvc?rev=439705&view=rev
Log:
Backporting Remy's fix for authentication replay.  Should have no functional difference, but
you never know

Modified:
    tomcat/connectors/trunk/jk/java/org/apache/jk/core/MsgContext.java

Modified: tomcat/connectors/trunk/jk/java/org/apache/jk/core/MsgContext.java
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/java/org/apache/jk/core/MsgContext.java?rev=439705&r1=439704&r2=439705&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/java/org/apache/jk/core/MsgContext.java (original)
+++ tomcat/connectors/trunk/jk/java/org/apache/jk/core/MsgContext.java Sat Sep  2 19:37:05
2006
@@ -351,9 +351,9 @@
         } else if ( actionCode == ActionCode.ACTION_REQ_SET_BODY_REPLAY ) {
             if( log.isTraceEnabled() )
                 log.trace("Replay ");
-            req.setContentLength(-1); // reset so re-read
             ByteChunk bc = (ByteChunk)param;
             jkIS.setReplay(bc);
+            req.setContentLength(bc.getLength()); // reset so re-read
         }
     }
     



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


Mime
View raw message