Skip to content
Snippets Groups Projects
Commit 3cf3d8f3 authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fix. Added call functuion Http.new and fix call function loop from module server-core-python.

parent a105780c
No related branches found
No related tags found
1 merge request!7Bugs 2846
......@@ -109,6 +109,7 @@ init(json_string)
setLogLevel(DEBUG)
sr = ServerCore.listen("0.0.0.0", 3307, 0)
Http.new(sr, app_name)
EncHttp.addProc(sr, "/enc_http")
Stream.addProcHttp(sr, "/stream")
StreamCtl.addProcHttp(sr, "/stream_ctl")
......@@ -117,10 +118,10 @@ if (configGetItem("mempool", "accept") == "true"):
Mempool.addProc(sr, "/mempool")
ev = Events()
ev.strat()
ev.start()
rc = sr.loop()
rc = ServerCore.loop(sr)
deinit()
\ No newline at end of file
deinit()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment