10 Commits

Author SHA1 Message Date
Joe Turki
cad1676659 Upgrade golangci-lint, more linters
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
2025-01-17 08:21:15 -06:00
Daniel Kessler
c9abe8bfe0 Add nil checks to agent_handlers (#751)
Co-authored-by: Daniel Kessler <dkess@google.com>
2025-01-09 15:48:42 -08:00
Eric Daniels
5e36528411 fix missed graceful close event on notifier 2024-08-02 11:34:02 -04:00
Eric Daniels
a0385eec1a Add GracefulClose 2024-07-25 15:02:45 -04:00
Sean DuBois
89093bb75b Revert "Cleanly close agent goroutines"
This reverts commit d8341e71ae.
2024-07-15 12:19:01 -04:00
Eric Daniels
d8341e71ae Cleanly close agent goroutines 2024-07-02 10:40:52 -04:00
Sean DuBois
d17be4df3b Use Notification Queue from 67cc918a51 more
Deliver Candidates and Selected CandidatePairs using the same queue.
This means that things are delivered in order and we don't have to worry
about blocking
2024-03-21 10:09:03 -04:00
sukun
67cc918a51 Fix ConnectionState being reported out of order
Before we launched a goroutine to announce every ConnectionState change
to users. These could then be sent to the user out of order.

This commit adds a connectionStateNotifier. The connectionStateNotifier
delivers them sequentially to the user.

Resolves #624
2024-03-20 14:07:55 -04:00
Steffen Vogel
898746c1f5 Invoke handlers from their own Goroutines 2023-05-15 08:00:41 +02:00
Steffen Vogel
d660d61495 Move Agent handler related code to separate file 2023-04-20 22:15:07 +02:00