THRIFT-5304 TWinHTTPClientImpl may incorrectly report that the message size is reached
Client: Delphi
Patch: Jens Geyer
diff --git a/lib/delphi/src/Thrift.Transport.pas b/lib/delphi/src/Thrift.Transport.pas
index 1b8300c..6a69d93 100644
--- a/lib/delphi/src/Thrift.Transport.pas
+++ b/lib/delphi/src/Thrift.Transport.pas
@@ -110,7 +110,7 @@
function MaxMessageSize : Integer;
property RemainingMessageSize : Int64 read FRemainingMessageSize;
property KnownMessageSize : Int64 read FKnownMessageSize;
- procedure ResetConsumedMessageSize( const newSize : Int64 = -1); inline;
+ procedure ResetConsumedMessageSize( const newSize : Int64 = -1);
procedure UpdateKnownMessageSize(const size : Int64); override;
procedure CheckReadBytesAvailable(const numBytes : Int64); inline;
procedure CountConsumedMessageBytes(const numBytes : Int64); inline;