Skip to content
Snippets Groups Projects
Commit 659a2ca8 authored by Chris Hines's avatar Chris Hines
Browse files

Merge branch 'dev' into 'test'

trying to find why novnc keeps closing

See merge request !86
parents 5e67bad9 896e4ec9
No related branches found
No related tags found
2 merge requests!90I think there is a problem with multiple threads creating multiple sessions...,!86trying to find why novnc keeps closing
Pipeline #56713 passed
......@@ -171,6 +171,8 @@ class TWSProxy(threading.Thread):
if msglength > 0:
TWSProxy.reliablesend(dest,buff,msglength)
if msglength == 0:
logger.debug('socket shutdown, fh ready to read but 0 bytes returned')
logger.debug(r[0],src)
#dest.send(buff)
dest.shutdown(shuttype)
initshutdown.set()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment