Files
nats-server/server
Ivan Kozlovic c620175353 Rework closeConnection()
This change allows the removal of the connection and update of
the server state to be done "in place" but still delay the flushing
of and close of tcp connection to the writeLoop. With ref counting
we ensure that the reconnect happens after the flushing but not
before the state has been updated.

Had to fix some places where we may have called closeConnection()
from under the server lock since it now would deadlock for sure.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2020-07-31 15:30:17 -06:00
..
2020-06-12 15:48:38 -07:00
2019-10-15 23:55:13 +08:00
2020-05-19 14:15:11 -07:00
2020-07-31 15:30:17 -06:00
2020-07-31 15:30:17 -06:00
2020-07-24 11:25:59 -07:00
2020-02-25 19:53:09 -05:00
2020-07-31 15:30:17 -06:00
2020-06-18 21:04:34 -07:00
2020-06-26 10:29:53 -07:00
2020-07-31 15:30:17 -06:00
2019-05-06 15:41:38 -07:00
2020-06-26 09:03:22 -07:00
2019-12-12 11:58:24 -07:00
2018-12-06 15:09:14 -08:00
2020-07-29 17:33:02 -06:00
2020-06-26 09:03:22 -07:00
2020-06-12 10:03:47 -06:00
2018-10-06 14:06:14 -07:00
2020-07-31 15:30:17 -06:00
2020-07-31 15:30:17 -06:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2019-11-14 20:05:32 -07:00
2019-12-12 11:58:24 -07:00