[vncproxy] log for closing web is misleading
When user close console web, log will record "Target closed vmsg". In fact, Target is not closed, webclient is closed Change-Id: I7bb53c38c4969eee7cf1d2ee346797d31c8b2d6a Closes-Bug: #1596873
This commit is contained in:
parent
3d6e72689e
commit
754adc4b7e
@ -153,7 +153,8 @@ class NovaProxyRequestHandlerBase(object):
|
||||
if tsock:
|
||||
tsock.shutdown(socket.SHUT_RDWR)
|
||||
tsock.close()
|
||||
self.vmsg(_("%(host)s:%(port)s: Target closed") %
|
||||
self.vmsg(_("%(host)s:%(port)s: "
|
||||
"Websocket client or target closed") %
|
||||
{'host': host, 'port': port})
|
||||
raise
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user