29 Commits
Author SHA1 Message Date
Tulir Asokan b10b70708a socket: use more atomic in FrameSocket
Closes #1150
Fixes #1085
2026-06-04 23:55:48 +03:00
Tulir Asokan f9fcedbb78 client: auto-reconnect on any dial errors 2026-02-27 13:16:23 +02:00
Tulir Asokan 0283654a17 socket: don't set dial options in wasm
Closes #1082
2026-02-18 14:29:39 +02:00
Tulir Asokan 20f0273af4 client: fix ResetConnection 2026-01-15 14:51:49 +02:00
Radon RosboroughandTulir Asokan 364369929a client: Retry on WA 5xx errors (#1023)
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-12-03 13:27:42 -08:00
Tulir Asokan 3d82d3101d BREAKING CHANGE: switch to coder/websocket and use contexts everywhere
Closes #896
2025-10-27 16:17:26 +02:00
Tulir Asokan 2a1c029c24 socket: fix handling frames split over >2 chunks
Fixes #718
2025-02-12 16:35:11 +02:00
Tulir Asokan d900d6f2af Add support for SOCKS proxies and only proxying login websocket 2024-05-20 11:47:20 +03:00
Tulir Asokan 2e5dad76d7 Use atomic types instead of manual calls 2024-02-12 14:01:59 +02:00
Tulir Asokan b3752c8641 Make frame socket URL and HTTP headers configurable 2024-02-07 17:24:35 +02:00
Tulir Asokan 7fa1ee0410 Update to socket version to v6 2024-01-30 00:18:23 +02:00
Tulir Asokan dc4f3fd30e Ensure context isn't nil in NoiseSocket.consumeFrames
Fixes #236
2022-11-26 18:45:36 +02:00
Tulir Asokan c4024df2d6 Add wrapper for AES-GCM 2022-11-17 01:20:31 +02:00
Tulir Asokan 09282cede3 Always use same proxy function for websockets and http 2022-02-18 15:08:35 +02:00
Tulir Asokan 8667d20257 Clean up proxy support
Fixes #35
2022-02-18 14:43:21 +02:00
Tulir Asokan 0f944b367c Merge remote-tracking branch 'Aoang/add-proxy-support' 2022-02-18 14:26:56 +02:00
Tulir Asokan 014990ede5 Update some things 2022-02-17 13:48:20 +02:00
Aoang 1ec3282481 Add proxy support 2022-02-17 17:31:11 +08:00
Tulir Asokan b2fb3fda9a Use channel for framesocket output and improve other parts 2021-10-30 01:16:33 +03:00
Tulir Asokan a0b8d9d427 Add more comments 2021-10-29 00:33:12 +03:00
Tulir Asokan d3f2a24bc0 Improve disconnection handling 2021-10-26 20:33:15 +03:00
Tulir Asokan 0b6955eb2f Fix OnDisconnect not being called correctly 2021-10-25 20:01:07 +03:00
Tulir Asokan 0347f7bd4e Maybe improve connection error handling more 2021-10-21 19:52:25 +03:00
Tulir Asokan 68c67c493b Try to make framesocket handle errors better 2021-10-21 16:22:23 +03:00
Tulir Asokan 3af0505d74 Random updates and things 2021-10-21 16:04:37 +03:00
Tulir Asokan 87836cb013 More package descriptions 2021-10-20 21:41:20 +03:00
Tulir Asokan ac24f43d4b Add initial app state decryption code 2021-10-19 22:27:01 +03:00
Tulir Asokan b84c63c229 Don't depend on maulogger 2021-10-16 13:39:23 +03:00
Tulir Asokan bce6fc3b58 Remove legacy non-multidevice support 2021-10-16 13:04:44 +03:00