improve connection timeout handling
This commit is contained in:
@@ -16,7 +16,7 @@ from owrx.waterfall import WaterfallOptions
|
||||
from owrx.websocket import Handler
|
||||
from queue import Queue, Full, Empty
|
||||
from js8py import Js8Frame
|
||||
from abc import ABC, ABCMeta, abstractmethod
|
||||
from abc import ABCMeta, abstractmethod
|
||||
import json
|
||||
import threading
|
||||
|
||||
@@ -517,6 +517,7 @@ class HandshakeMessageHandler(Handler):
|
||||
logger.warning("invalid connection type: %s", handshake["type"])
|
||||
|
||||
if client is not None:
|
||||
logger.debug("handing off connection handling to %s", type(client).__name__)
|
||||
# hand off all further communication to the correspondig connection
|
||||
conn.send("CLIENT DE SERVER server=openwebrx version={version}".format(version=openwebrx_version))
|
||||
conn.setMessageHandler(client)
|
||||
|
||||
Reference in New Issue
Block a user