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

trying to find why novnc keeps closing

parent fcf64dcc
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 #56712 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