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
7b10dc8a
Commit
7b10dc8a
authored
Aug 31, 2011
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utils/websocket.py: add HyBi 13 support.
Pull from websockify 6e26306.
parent
94568bc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
websocket.py
utils/websocket.py
+4
-3
No files found.
utils/websocket.py
View file @
7b10dc8a
...
...
@@ -615,9 +615,10 @@ Sec-WebSocket-Accept: %s\r
raise
self
.
EClose
(
"Python >= 2.6 and numpy module is required for HyBi-07 or greater"
)
# HyBi-07 report version 7
# HyBi-08 - HyBi-10 report version 8
if
ver
in
[
'7'
,
'8'
]:
self
.
version
=
"hybi-0"
+
ver
# HyBi-08 - HyBi-12 report version 8
# HyBi-13 reports version 13
if
ver
in
[
'7'
,
'8'
,
'13'
]:
self
.
version
=
"hybi-
%02
d"
%
int
(
ver
)
else
:
raise
self
.
EClose
(
'Unsupported protocol version
%
s'
%
ver
)
...
...
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