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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
ndjson.go
ndjson_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
subscription.go
subscription_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00