Jesse Hallam
f8ffd68060
Webhub race condition ( #9863 )
...
* fix webconn close semantics
Avoid race conditions in WebConn on shutdown by closing channels to guarantee all readers are notified. Wrap this with sync.Once to avoid closing the channel more than once.
* web_hub_test.go
* webhub: fix race condition on shutdown
Ensure that if the webhub shuts down in the process of sending, the caller unblocks given that the webhub will no longer consume incoming events.
* panic if app shutdown takes >30 seconds
* simplify WebConn::Pump channel semantics too
2018-11-22 10:53:44 +01:00
..
2018-04-27 12:49:45 -07:00
2018-11-19 15:27:17 -05:00
2018-11-22 10:53:44 +01:00
2018-11-20 20:16:25 -05:00
2018-10-15 15:46:26 +01:00
2018-11-20 20:16:25 -05:00
2018-10-13 12:35:57 +02:00
2018-11-20 20:16:25 -05:00
2017-12-22 12:09:33 +00:00
2017-10-18 15:36:43 -07:00
2018-11-20 20:16:25 -05:00
2018-08-01 16:55:18 +02:00
2018-07-11 12:58:16 +02:00
2018-03-12 10:21:20 -04:00
2018-07-26 08:31:22 -07:00
2017-10-02 13:25:33 -07:00
2018-08-01 16:55:18 +02:00
2018-11-20 20:16:25 -05:00
2017-12-22 12:09:33 +00:00
2018-11-20 20:16:25 -05:00
2018-08-01 16:55:18 +02:00
2018-11-20 20:16:25 -05:00
2018-09-21 08:22:23 -07:00
2018-05-14 10:24:58 -04:00
2018-07-11 12:58:16 +02:00
2018-08-01 16:55:18 +02:00
2018-11-19 15:27:17 -05:00
2018-11-19 15:27:17 -05:00
2018-11-20 20:16:25 -05:00
2018-08-01 16:55:18 +02:00
2018-11-20 20:16:25 -05:00
2017-12-22 12:09:33 +00:00
2018-11-20 20:16:25 -05:00
2018-09-14 08:21:05 -07:00
2017-12-22 12:09:33 +00:00
2018-04-16 09:00:59 -04:00
2018-11-20 20:16:25 -05:00
2018-07-26 08:45:26 -04:00
2018-11-20 20:16:25 -05:00
2018-11-19 15:27:17 -05:00
2018-09-03 14:08:40 +02:00
2018-08-01 16:55:18 +02:00
2018-11-20 20:16:25 -05:00
2018-08-01 16:55:18 +02:00
2018-11-20 20:16:25 -05:00
2018-09-24 15:35:39 +02:00
2018-11-20 20:16:25 -05:00
2017-12-22 12:09:33 +00:00
2018-11-20 20:16:25 -05:00
2018-08-01 16:55:18 +02:00
2018-11-20 20:16:25 -05:00
2018-09-14 08:21:05 -07:00
2018-11-20 20:16:25 -05:00
2018-10-24 11:52:53 +01:00
2018-11-20 20:16:25 -05:00
2018-09-14 08:21:05 -07:00
2018-11-20 20:16:25 -05:00
2018-11-08 15:48:14 -05:00
2018-11-20 20:16:25 -05:00
2018-11-08 15:48:14 -05:00
2018-11-20 20:16:25 -05:00
2018-09-14 08:21:05 -07:00
2018-07-16 15:49:26 -04:00
2018-04-27 12:49:45 -07:00