Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
02d1f19b
Commit
02d1f19b
authored
May 10, 2012
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pull from websockify.
Fix python 2.4 CClose exception handling.
parent
4910600b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
websocket.py
utils/websocket.py
+3
-1
No files found.
utils/websocket.py
View file @
02d1f19b
...
@@ -765,10 +765,12 @@ Sec-WebSocket-Accept: %s\r
...
@@ -765,10 +765,12 @@ Sec-WebSocket-Accept: %s\r
self
.
ws_connection
=
True
self
.
ws_connection
=
True
self
.
new_client
()
self
.
new_client
()
except
self
.
CClose
as
e
:
except
self
.
CClose
:
# Close the client
# Close the client
_
,
exc
,
_
=
sys
.
exc_info
()
_
,
exc
,
_
=
sys
.
exc_info
()
if
self
.
client
:
if
self
.
client
:
print
exc
print
repr
(
exc
.
args
)
self
.
send_close
(
exc
.
args
[
0
],
exc
.
args
[
1
])
self
.
send_close
(
exc
.
args
[
0
],
exc
.
args
[
1
])
except
self
.
EClose
:
except
self
.
EClose
:
_
,
exc
,
_
=
sys
.
exc_info
()
_
,
exc
,
_
=
sys
.
exc_info
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment