mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-15 14:59:33 +00:00
changes
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user