Commit Graph

23 Commits

Author SHA1 Message Date
J. Nick Koston 4cff8555d2
Remove zeroconf listener removal workaround (#860) 2024-04-17 16:18:36 -05:00
J. Nick Koston e4ab837111
Use loopback address in all tests (#841) 2024-03-10 10:02:14 -10:00
dependabot[bot] d63f10d6e3
Bump black from 23.12.1 to 24.1.1 (#812)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-04 21:39:47 -06:00
J. Nick Koston 5b4bdb8716
Refactor tests for new pytest-asyncio (#820) 2024-02-04 21:30:19 -06:00
J. Nick Koston 05ee53c16d
Add happy eyeballs support (RFC 8305) (#789) 2023-12-12 07:24:31 -10:00
J. Nick Koston ab5834ca0d
Fix not backing off when connection requires encryption (#762) 2023-11-27 18:39:22 -06:00
J. Nick Koston 6e08933a75
Fix race scheduling reconnect from zeroconf records (#731) 2023-11-26 10:32:16 -06:00
J. Nick Koston 991214ef52
Fix name logic with reconnect logic when APIConnection address lacks local (#728) 2023-11-26 09:56:32 -06:00
J. Nick Koston 3a2a2f473c
Add test to ensure connect task aborts when stopped (#727) 2023-11-26 09:29:33 -06:00
J. Nick Koston b3d4189b07
Fix reconnect logic cancelling the connection while handshaking (#726) 2023-11-26 09:14:42 -06:00
J. Nick Koston 68dfc868d9
Add coverage to ensure encryption error results in maximum backoff (#725) 2023-11-26 08:14:51 -06:00
J. Nick Koston 7a7a99474e
Add coverage for reconnect logic downgrading logging level after first failure (#723) 2023-11-26 08:04:34 -06:00
J. Nick Koston e8468647e2
Remove duplicate code in tests (#722) 2023-11-26 07:53:48 -06:00
J. Nick Koston e01f22d99a
Fix race in cleaning up connection (#698) 2023-11-25 07:11:34 -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 b12903e2e7
Refactor zeroconf code to avoid creating instances when one is unneeded (#643) 2023-11-17 13:11:36 -06:00
J. Nick Koston c1a0500ecb
Update some legacy python code to python 3.9 (#635) 2023-11-11 14:19:04 -06:00
J. Nick Koston 7ac7742c91
Ensure passed params are always a str (#622) 2023-11-08 17:26:51 -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