THRIFT-3919 C# TTLSServerSocket does not use clientTimeout
This closes #1078
diff --git a/lib/csharp/src/Transport/TTLSServerSocket.cs b/lib/csharp/src/Transport/TTLSServerSocket.cs
index 99f21ca..d6e69eb 100644
--- a/lib/csharp/src/Transport/TTLSServerSocket.cs
+++ b/lib/csharp/src/Transport/TTLSServerSocket.cs
@@ -43,7 +43,7 @@
/// <summary>
/// Timeout for the created server socket
/// </summary>
- private int clientTimeout = 0;
+ private readonly int clientTimeout;
/// <summary>
/// Whether or not to wrap new TSocket connections in buffers
@@ -117,6 +117,7 @@
}
this.port = port;
+ this.clientTimeout = clientTimeout;
this.serverCertificate = certificate;
this.useBufferedSockets = useBufferedSockets;
this.clientCertValidator = clientCertValidator;