open-nomad/nomad/stream
James Rasell da5069bded event stream: ensure token expiry is correctly checked for subs.
This change ensures that a token's expiry is checked before every
event is sent to the caller. Previously, a token could still be
used to listen for events after it had expired, as long as the
subscription was made while it was unexpired. This would last until
the token was garbage collected from state.

The check occurs within the RPC as there is currently no state
update when a token expires.
2022-10-27 13:08:05 -04:00
..
event_broker.go event stream: ensure token expiry is correctly checked for subs. 2022-10-27 13:08:05 -04:00
event_broker_test.go event stream: ensure token expiry is correctly checked for subs. 2022-10-27 13:08:05 -04:00
event_buffer.go Event sink manager improvements (#9206) 2020-11-02 09:21:32 -05:00
event_buffer_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
ndjson.go events: fix slow client connection to empty event stream (#10637) 2021-05-21 13:17:07 -04:00
ndjson_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
subscription.go events: fix wildcard namespace handling (#10935) 2021-09-02 09:36:55 -07:00
subscription_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00