git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@437530
13f79535-47bb-0310-9956-
ffa450edef68
} else if (actionCode == ActionCode.ACTION_REQ_SET_BODY_REPLAY) {
// Set the given bytes as the content
+ request.setContentLength(-1); // reset content length
ByteChunk bc = (ByteChunk) param;
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), bc.getLength());
first = false;
} else if ( actionCode == ActionCode.ACTION_REQ_SET_BODY_REPLAY ) {
if( log.isTraceEnabled() )
log.trace("Replay ");
+ req.setContentLength(-1); // reset content length
ByteChunk bc = (ByteChunk)param;
jkIS.setReplay(bc);
}