Files
proton-bridge/internal
James Houlahan 6fbf6d90dc Other: Fix IMAP/SMTP/Login leaks/race conditions
Depending on the timing of bridge closure, it was possible for the 
IMAP/SMTP servers to not have started serving yet. By grouping this in
a cancelable goroutine group (*xsync.Group), we mitigate this issue.

Further, depending on internet disconnection timing during user login,
it was possible for a user to be improperly logged in. This change 
fixes this and adds test coverage for it.

Lastly, depending on timing, certain background tasks (updates check,
connectivity ping) could be improperly started or closed. This change
groups them in the *xsync.Group as well to be closed properly.
2022-11-16 13:48:30 +01:00
..
2022-11-16 12:26:09 +01:00
2022-11-16 12:26:09 +01:00
2022-11-16 12:26:08 +01:00
2022-11-16 12:26:09 +01:00
2022-11-16 12:26:09 +01:00
2022-11-16 12:26:09 +01:00
2022-11-16 12:26:08 +01:00
2022-11-16 12:26:08 +01:00
2022-11-16 12:26:09 +01:00
2022-11-16 12:26:09 +01:00