From c1d7943a7ed78fb434eaa90feb1a3a17b446fc97 Mon Sep 17 00:00:00 2001 From: Jens Geyer Date: Tue, 22 Apr 2014 22:52:43 +0200 Subject: [PATCH] =?utf8?q?THRIFT-2347=20C#=20TLS=20Transport=20based=20on?= =?utf8?q?=20THRIFT-181=20Client:=20C#=20Patch:=20Beat=20K=C3=A4slin?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This closes #104 commit 21c33abd59a2333c48722933c6894d8ed145e638 Author: Beat Kaeslin Date: 2014-04-16T14:07:58Z Add TLS transport for C# commit 60a0baa1797b0ef0ea6f8c21e5b81a78cdfcdf16 Author: Beat Kaeslin Date: 2014-04-17T06:23:57Z csharp tests moved to the end --- lib/csharp/Makefile.am | 2 + lib/csharp/src/Thrift.csproj | 4 +- lib/csharp/src/Transport/TTLSServerSocket.cs | 186 ++++++++++++ lib/csharp/src/Transport/TTLSSocket.cs | 284 +++++++++++++++++++ lib/csharp/test/ThriftTest/TestClient.cs | 46 ++- lib/csharp/test/ThriftTest/TestServer.cs | 42 ++- lib/csharp/test/ThriftTest/maketest.sh | 1 + test/test.sh | 22 ++ 8 files changed, 569 insertions(+), 18 deletions(-) create mode 100644 lib/csharp/src/Transport/TTLSServerSocket.cs create mode 100644 lib/csharp/src/Transport/TTLSSocket.cs diff --git a/lib/csharp/Makefile.am b/lib/csharp/Makefile.am index e847237b..b99674cb 100644 --- a/lib/csharp/Makefile.am +++ b/lib/csharp/Makefile.am @@ -60,6 +60,8 @@ THRIFTCODE= \ src/Transport/TMemoryBuffer.cs \ src/Transport/TNamedPipeClientTransport.cs \ src/Transport/TNamedPipeServerTransport.cs \ + src/Transport/TTLSSocket.cs \ + src/Transport/TTLSServerSocket.cs \ src/TProcessor.cs \ src/TException.cs \ src/TApplicationException.cs diff --git a/lib/csharp/src/Thrift.csproj b/lib/csharp/src/Thrift.csproj index d475ed64..1f108680 100644 --- a/lib/csharp/src/Thrift.csproj +++ b/lib/csharp/src/Thrift.csproj @@ -1,4 +1,4 @@ - +