THRIFT-1873 Binary protocol factory ignores struct read/write flags
authorJens Geyer <jensg@apache.org>
Thu, 7 Mar 2013 19:44:22 +0000 (20:44 +0100)
committerJens Geyer <jensg@apache.org>
Thu, 7 Mar 2013 19:44:22 +0000 (20:44 +0100)
Patch: Jens Geyer

lib/delphi/src/Thrift.Protocol.pas

index 33e17d7..4c1954c 100644 (file)
@@ -1225,7 +1225,7 @@ end;
 \r
 function TBinaryProtocolImpl.TFactory.GetProtocol( const trans: ITransport): IProtocol;\r
 begin\r
-  Result := TBinaryProtocolImpl.Create( trans );\r
+  Result := TBinaryProtocolImpl.Create( trans, FStrictRead, FStrictWrite);\r
 end;\r
 \r
 end.\r