enable "strict reads" to aid troubleshooting corrupt messages / framed bugs. patch by jbellis

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2010-07-26 21:01:27 +00:00
parent 62d044bbf2
commit f27c6b7ce6
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public class CassandraDaemon extends org.apache.cassandra.service.AbstractCassan
logger.info(String.format("Binding thrift service to %s:%s", listenAddr, listenPort));
// Protocol factory
TProtocolFactory tProtocolFactory = new TBinaryProtocol.Factory(false,
TProtocolFactory tProtocolFactory = new TBinaryProtocol.Factory(true,
true,
DatabaseDescriptor.getThriftMaxMessageLength());