https stuff and cert generator for the webserver

This commit is contained in:
lukeIam committed 2013-12-13 17:43:09 +01:00
1 parent 3f18832b38
commit 33252ab19c
16 files changed
+2270 -226

No files matched your search

+4 -11
View File
@@ -43,17 +43,10 @@ namespace Vocaluxe.Base.Server
public static void Init()
{
_Clients = new Dictionary<int, CClientHandler>();
if (CConfig.ServerEncryption == EOffOn.TR_CONFIG_ON)
{
_Server = new CServer(CConfig.ServerPort);
//_Server = new CServer(RequestHandler, CConfig.ServerPort, CConfig.ServerPassword);
}
else
{
_Server = new CServer(CConfig.ServerPort);
//_Server = new CServer(RequestHandler, CConfig.ServerPort, String.Empty);
}
_Server = new CServer(CConfig.ServerPort, CConfig.ServerEncryption == EOffOn.TR_CONFIG_ON);
//_Server = new CServer(RequestHandler, CConfig.ServerPort, CConfig.ServerPassword);
CServer.SendKeyEvent = sendKeyEvent;
CServer.GetProfileData = getProfileData;
CServer.SendProfileData = sendProfileData;
@@ -338,7 +331,7 @@ namespace Vocaluxe.Base.Server
private static SongInfo[] getAllSongs()
{
var songs = CSongs.Songs;
var songs = CSongs.Songs;
return (from s in songs
select getSongInfo(s, false)).ToArray<SongInfo>();
}