Files
nats-server/server
Ivan Kozlovic 85b3f8a7fd Gateways: data race when setting first ping timer
This was introduced when fixing #2881. The call to setFirstPingTimer
needed to be done under the client's lock.

Moved setFirstPingTimer from a server receiver to a client receiver.
The only reason it was a server receiver is because we need the
server options, but c.srv is always set when invoking this function,
so we will get the server from c.srv in that function now.

Related to #2881

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-03-04 19:55:07 -07:00
..
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2022-01-21 11:03:19 -08:00
2022-03-04 10:08:14 -08:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-04 14:26:01 -07:00
2021-12-14 10:00:54 -07:00
2022-02-15 17:07:32 -08:00
2021-11-15 17:23:08 -07:00
2022-01-13 13:14:00 -07:00
2022-02-22 16:22:32 -07:00
2022-03-04 08:53:16 -08:00
2022-03-04 08:53:16 -08:00
2022-02-04 13:32:18 -08:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2022-01-13 13:14:05 -07:00
2022-01-13 13:14:00 -07:00
2022-01-13 13:14:05 -07:00
2022-02-15 17:07:32 -08:00
2022-01-21 11:03:19 -08:00
2020-06-12 10:03:47 -06:00
2022-02-22 16:22:32 -07:00
2021-12-16 16:53:20 -05:00
2022-01-13 13:14:00 -07:00
2022-01-13 13:14:00 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-09-01 14:55:26 -07:00
2021-11-15 17:23:08 -07:00
2021-12-16 16:53:20 -05:00
2021-09-13 15:22:05 +03:00