THRIFT-2117 Cocoa TBinaryProtocol strictWrite should be set to true by default
Client: cocoa
Patch: David Robakowski
diff --git a/lib/cocoa/src/protocol/TBinaryProtocol.m b/lib/cocoa/src/protocol/TBinaryProtocol.m
index bee616e..1508acc 100644
--- a/lib/cocoa/src/protocol/TBinaryProtocol.m
+++ b/lib/cocoa/src/protocol/TBinaryProtocol.m
@@ -49,7 +49,7 @@
- (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