mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 22:45:26 +00:00
Added message about WebSocket opened
This commit is contained in:
parent
ea9bf58efe
commit
15ed0c017e
1 changed files with 1 additions and 0 deletions
|
|
@ -415,6 +415,7 @@ class WebRXHandler(BaseHTTPRequestHandler):
|
|||
# there's even another cool tip at http://stackoverflow.com/questions/4419650/how-to-implement-timeout-in-basehttpserver-basehttprequesthandler-python
|
||||
#if self.path[:5]=="/lock": cma("do_GET /lock/") # to test mutex_watchdog_thread. Do not uncomment in production environment!
|
||||
if self.path[:4]=="/ws/":
|
||||
print "[openwebrx-ws] Client requested WebSocket connection"
|
||||
if receiver_failed: self.send_error(500,"Internal server error")
|
||||
try:
|
||||
# ========= WebSocket handshake =========
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue