THRIFT-2117 Cocoa TBinaryProtocol strictWrite should be set to true by default
authorCarl Yeksigian <carl@apache.org>
Tue, 13 Aug 2013 22:09:59 +0000 (18:09 -0400)
committerCarl Yeksigian <carl@apache.org>
Tue, 13 Aug 2013 22:09:59 +0000 (18:09 -0400)
Client: cocoa
Patch: David Robakowski

lib/cocoa/src/protocol/TBinaryProtocol.m

index bee616e..1508acc 100644 (file)
@@ -49,7 +49,7 @@ static TBinaryProtocolFactory * gSharedFactory = nil;
 
 - (id) initWithTransport: (id <TTransport>) transport
 {
-  return [self initWithTransport: transport strictRead: NO strictWrite: NO];
+  return [self initWithTransport: transport strictRead: NO strictWrite: YES];
 }
 
 - (id) initWithTransport: (id <TTransport>) transport