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_buffer_test.go
ndjson.go
ndjson_test.go
subscription.go
subscription_test.go