Commit Graph

32 Commits

Author SHA1 Message Date
J. Nick Koston
b3d4189b07
Fix reconnect logic cancelling the connection while handshaking (#726) 2023-11-26 09:14:42 -06:00
J. Nick Koston
b8427c4cbb
Fix race running disconnect callback in reconnect logic (#666) 2023-11-23 08:39:03 -06:00
J. Nick Koston
c76d741cb8
Refactor to reduce duplicate connection code (#644) 2023-11-18 15:10:40 -06:00
J. Nick Koston
b12903e2e7
Refactor zeroconf code to avoid creating instances when one is unneeded (#643) 2023-11-17 13:11:36 -06:00
J. Nick Koston
a15b96c76b
Send hello and login asynchronously to speed up connecting (#628) 2023-11-09 19:17:53 -06:00
J. Nick Koston
6458ebcf60
Allow the stop callback to be cancelled when already disconnected (#615) 2023-11-06 18:17:50 -06:00
J. Nick Koston
0683521839
Wait for handshake to finish to allow for clean disconnect when stopping reconnect logic (#614) 2023-11-06 16:46:32 -06:00
J. Nick Koston
2ef9ed9026
Fix zeroconf reconnect logic (#613) 2023-11-06 15:04:09 -06:00
J. Nick Koston
000ff14ac0
Make reconnect logic state machine switches check locks (#597) 2023-10-21 17:46:45 -10:00
J. Nick Koston
d950d90245
Improve consistency of name logging (#577) 2023-10-14 17:04:27 -10:00
J. Nick Koston
b7449d4ded
Split connection process to enable faster reconnects (#576) 2023-10-14 16:03:12 -10:00
J. Nick Koston
223eb23c05
Increase expected disconnect cooldown to 5.0 seconds (#540) 2023-09-05 19:22:13 -05:00
J. Nick Koston
e0c4530dd8
Add additional connection logging (#539) 2023-09-05 19:21:55 -05:00
J. Nick Koston
ca254f150c
Fix zeroconf listener being removed from zeroconf callback (#538) 2023-09-05 18:22:00 -05:00
J. Nick Koston
11a19438cb
Avoid a few calls to fetch loop time (#533) 2023-09-04 12:56:23 -05:00
J. Nick Koston
fee26d5387
Speed up zeroconf reconnect logic (#531) 2023-08-29 08:02:53 -05:00
J. Nick Koston
82ab7e489d
Add messages to all task cancels (#497) 2023-07-19 15:37:59 -05:00
J. Nick Koston
d63b9bbf5d
Upgrade python code to 3.9 (#496) 2023-07-19 15:33:28 -05:00
J. Nick Koston
4fe46f5aa0
Propagate if disconnect was expected to disconnect callback (#448) 2023-06-25 21:45:36 -05:00
J. Nick Koston
eaa5e295cf
Fix more cases where incorrect encryption keys were not detected (#447) 2023-06-24 10:47:24 -05:00
J. Nick Koston
de9b7266f1
Refactor reconnect logic to reduce complexity (#426) 2023-04-25 16:11:40 -04:00
J. Nick Koston
51d581dd9c
Cooldown before reconnecting on expected disconnect (#397) 2023-03-05 18:54:54 -10:00
J. Nick Koston
0656b65ca1
Ensure we hold strong references to tasks (#382) 2023-02-13 14:11:58 +13:00
dependabot[bot]
1eebbfc1e0
Bump black from 21.12b0 to 22.1.0 (#169)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2022-01-31 17:38:57 +01:00
Oxan van Leeuwen
f68fc025a8
Fix mypy errors (#139) 2021-11-22 23:08:04 +01:00
Otto Winter
5bfa90e7c8
Update records in one go (#119) 2021-10-13 10:56:29 +02:00
Otto Winter
b3d1f13eeb
Add connect_error callback to ReconnectLogic (#111) 2021-10-13 10:46:13 +02:00
Otto Winter
dd9d716c10
Require zeroconf >=0.36 (#118) 2021-10-13 10:19:42 +02:00
Otto Winter
f3aaf0391d
Remove eventloop parameter (#110) 2021-10-13 10:15:30 +02:00
Otto Winter
5b99d5c1dd
Refactor connection class to resolve connect issues (#108) 2021-10-04 12:12:43 +02:00
Otto Winter
8d08689b29
Support for old zeroconfs (#88) 2021-09-07 18:52:54 +02:00
Otto Winter
ff10a20bce
Add reconnect logic class (#54) 2021-06-30 17:10:30 +02:00