THRIFT-5012 Centralize configuration aspects into a commonly used configuration object [ci skip]
Client: Delphi
Patch: Jens Geyer
This closes #1955
diff --git a/lib/delphi/test/TestServer.pas b/lib/delphi/test/TestServer.pas
index da804fd..bbc798b 100644
--- a/lib/delphi/test/TestServer.pas
+++ b/lib/delphi/test/TestServer.pas
@@ -36,6 +36,7 @@
Thrift.Protocol.JSON,
Thrift.Protocol.Compact,
Thrift.Collections,
+ Thrift.Configuration,
Thrift.Utils,
Thrift.Test,
Thrift,
@@ -593,7 +594,7 @@
trns_NamedPipes : begin
Console.WriteLine('- named pipe ('+sPipeName+')');
- namedpipe := TNamedPipeServerTransportImpl.Create( sPipeName, 4096, PIPE_UNLIMITED_INSTANCES);
+ namedpipe := TNamedPipeServerTransportImpl.Create( sPipeName, 4096, PIPE_UNLIMITED_INSTANCES, INFINITE);
servertrans := namedpipe;
end;
@@ -614,7 +615,7 @@
if (trns_Framed in layered) then begin
Console.WriteLine('- framed transport');
- TransportFactory := TFramedTransportImpl.TFactory.Create
+ TransportFactory := TFramedTransportImpl.TFactory.Create;
end
else begin
TransportFactory := TTransportFactoryImpl.Create;