2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fix HTTP access to console sessions

A mistake was made in the coding of the timestamp capability.  Correct the mistake to restore console function.
This commit is contained in:
Jarrod Johnon 2014-10-29 13:13:51 -04:00
parent e0e6e36a82
commit d7f26efa3b

View File

@ -336,7 +336,7 @@ def resourcehandler_backend(env, start_response):
timeout=45)
bufferage = False
if 'stampsent' not in consolesessions[sessid]:
consoleserver[sessid]['stampsent'] = True
consolesesessions[sessid]['stampsent'] = True
bufferage = consolesessions[sessid]['session'].get_buffer_age()
if isinstance(outdata, dict):
rspdata = outdata