This commit is contained in:
2019-07-23 07:28:02 +03:00
parent 1455857e5a
commit c330bc7292
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ using MTSC.Server;
using MTSC.Server.Handlers;
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace MTSC_TestServer
{
@@ -16,7 +17,7 @@ namespace MTSC_TestServer
EncryptionHandler encryptionHandler = new EncryptionHandler(rsa, server);
BroadcastHandler broadcastHandler = new BroadcastHandler(server);
server
.AddHandler(encryptionHandler)
//.AddHandler(encryptionHandler)
.AddLogger(new ConsoleLogger())
.AddLogger(new DebugConsoleLogger())
.AddExceptionHandler(new ExceptionConsoleLogger())
+1
View File
@@ -182,6 +182,7 @@ namespace MTSC.Common
{
request.Append(header.Key).Append(':').Append(SP).Append(header.Value).Append(CRLF);
}
request.Append(CRLF);
return request.ToString();
}
}