| | |
| | | //HttpSvcHost.Prefixes.Add("http://127.0.0.1:8808/"); |
| | | //HttpSvcHost.Start(); |
| | | //HttpSvcHost.BeginGetContext(HttpSvcListenerCallback, null); |
| | | LogHelper.Info("<<<<<<<<<<<<<<<<<<<....Running....>>>>>>>>>>>>>>>"); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | if (IsExitApp) { break; } |
| | | try |
| | | { |
| | | #region [鑴氭湰][20250704090126015][涓氬姟閫昏緫.Program2] |
| | | #region [鑴氭湰][20250704090126015][涓氬姟閫昏緫.鍚姩绾跨▼鎬荤嚎] |
| | | AutoThread.InvokeMethod(AutoThread.Instance, "ThreadSettingInit", new object[] { tag }); |
| | | #endregion [鑴氭湰][20250704090126015][涓氬姟閫昏緫.Program2] |
| | | #endregion [鑴氭湰][20250704090126015][涓氬姟閫昏緫.鍚姩绾跨▼鎬荤嚎] |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | } |
| | | finally |
| | | { |
| | | System.Threading.Thread.Sleep(10000); |
| | | System.Threading.Thread.Sleep(3000); |
| | | } |
| | | } |
| | | ExitJudgeStack.TryPop(out int exitJudgeVal); |
| | |
| | | try |
| | | { |
| | | Conn.log榛樿鏃ュ織.Debug("[鍏抽棴澶勭悊][Start]鍏抽棴Http鏈嶅姟"); |
| | | if (HttpSvcHost != null) |
| | | if (HttpServer.HttpSvcHost != null) |
| | | { |
| | | HttpSvcHost.Stop(); |
| | | HttpServer.HttpSvcHost.Stop(); |
| | | } |
| | | } |
| | | catch (Exception ex) |