Commit Graph

37 Commits

Author SHA1 Message Date
Jakob Ketterl
5adb53d990 distinguish between error condition and normal socket close 2022-01-11 19:57:52 +01:00
Jakob Ketterl
f3dcf5c320 check closed condition after aquiring the lock to avoid deadlocks 2022-01-05 17:55:46 +01:00
Jakob Ketterl
5b92c317c1 improve connection timeout handling 2021-05-18 20:44:05 +02:00
Jakob Ketterl
3e7eb09f3e introduce a websocket handler interface 2021-05-18 15:42:30 +02:00
Jakob Ketterl
301b3b59a5 fix linter issues 2021-05-10 23:02:43 +02:00
Jakob Ketterl
40c78940ef don't close twice 2021-05-10 21:27:40 +02:00
Jakob Ketterl
dfaecdb357 use hierarchical property layers to make config changes effective
immediately
2021-02-23 23:23:37 +01:00
Jakob Ketterl
369a61ec59 shut down pipes correctly, refs #146 2020-07-19 19:42:18 +02:00
Jakob Ketterl
c54f19282a improved error handling, refs #146 #22 2020-07-19 19:00:26 +02:00
Jakob Ketterl
eab3bf780e fix problems with sdr device failover detection 2020-05-04 20:36:17 +02:00
Jakob Ketterl
9246500c95 run black 2019-11-23 01:12:21 +01:00
Jakob Ketterl
eb29d0ac99 protect websocket handling from any exceptions 2019-10-21 22:08:37 +02:00
Jakob Ketterl
f9f50e734f improved websocket handling 2019-10-11 12:08:43 +02:00
Jakob Ketterl
2025ccb366 catch more generic OSError 2019-10-03 00:58:27 +02:00
Jakob Ketterl
630a542ed6 better websocket header handling 2019-10-02 11:28:41 +02:00
Jakob Ketterl
cbc7b73b1d hand over message handling after initial handshake instead of delegating 2019-09-28 00:25:36 +02:00
Jakob Ketterl
5f703a043b fix ping race condition 2019-09-27 23:28:43 +02:00
Jakob Ketterl
76fe11741a add ping / pong to keep the websockets running 2019-09-26 22:57:10 +02:00
Jakob Ketterl
6cb7e65231 differentiate between None and empty return 2019-09-26 00:24:55 +01:00
Jakob Ketterl
a68ba01320 handle socket timeouts 2019-09-24 21:42:41 +02:00
Jakob Ketterl
cfb4208db2 improved api 2019-09-22 13:16:24 +02:00
Jakob Ketterl
57975b6f96 move connection tracking to all websockets 2019-09-22 12:57:13 +02:00
Jakob Ketterl
b4ffc6e2f0 replace os pipe with multiprocessing (seems to work better) 2019-09-22 12:56:35 +02:00
Jakob Ketterl
1ed69de5b0 un-couple messaging between connections; use non-blocking io 2019-09-21 22:10:16 +02:00
Jakob Ketterl
2edeffb761 close websocket connections in an improved way 2019-09-21 13:49:37 +02:00
D0han
e15dc1ce11 Reformatted with black -l 120 -t py35 . 2019-07-21 19:40:28 +02:00
Jakob Ketterl
4493f369dd enable 64-bit frames for large amounts of data 2019-07-19 17:01:50 +02:00
Jakob Ketterl
e8a1a40dc0 try to handle overflowing connections 2019-06-07 20:10:03 +02:00
Jakob Ketterl
aa7212c642 handle OSErrors, too 2019-06-07 01:14:09 +02:00
Jakob Ketterl
a85a6c694c improve shutdown handling 2019-05-12 18:10:24 +02:00
Jakob Ketterl
abb5b65217 let's get rid of deprecations straight away 2019-05-10 22:17:53 +02:00
Jakob Ketterl
e15359a106 use pythons logging infrastructure 2019-05-10 21:50:58 +02:00
Jakob Ketterl
bd627d77b7 misc 2019-05-09 20:11:21 +02:00
Jakob Ketterl
1c2810ccb8 remove debugging 2019-05-05 21:09:01 +02:00
Jakob Ketterl
f05afc4b0a get the audio going as well 2019-05-04 23:11:13 +02:00
Jakob Ketterl
1f909080db we got fft 2019-05-04 20:26:11 +02:00
Jakob Ketterl
89690d214d first work on the websocket connection 2019-05-04 16:56:23 +02:00