mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 19:40:12 +00:00
Reap session immediately on logout
When a logout happens in httpapi, immediately reap related console sessions that are in flight.
This commit is contained in:
parent
029c06cc66
commit
1b26b2cf3d
@ -425,6 +425,7 @@ def resourcehandler_backend(env, start_response):
|
||||
httpsessions[authorized['sessionid']]['inflight'].discard(
|
||||
greenlet.getcurrent())
|
||||
if loggedout is not None:
|
||||
consolesessions[sessid]['session'].destroy()
|
||||
start_response('401 Logged out', [])
|
||||
yield 'Logged out'
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user