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
40f281eb
Commit
40f281eb
authored
Jan 31, 2011
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DOCTYPE. Misc cleanup.
parent
0981845e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+1
-1
websocket.py
utils/websocket.py
+1
-1
vnc.html
vnc.html
+1
-0
vnc_auto.html
vnc_auto.html
+1
-0
No files found.
README.md
View file @
40f281eb
...
@@ -102,6 +102,6 @@ There a few reasons why a proxy is required:
...
@@ -102,6 +102,6 @@ There a few reasons why a proxy is required:
*
[
Integrating noVNC
](
wiki/Integration
)
into existing projects.
*
[
Integrating noVNC
](
wiki/Integration
)
into existing projects.
*
[
Troubleshooting noVNC
problems
](
wiki/Troubleshooting
)
.
*
[
Troubleshooting noVNC
](
wiki/Troubleshooting
)
problems
.
utils/websocket.py
View file @
40f281eb
...
@@ -256,7 +256,6 @@ Connection: Upgrade\r
...
@@ -256,7 +256,6 @@ Connection: Upgrade\r
# Now get the data from the socket
# Now get the data from the socket
handshake
=
retsock
.
recv
(
4096
)
handshake
=
retsock
.
recv
(
4096
)
#self.msg("handshake: " + repr(handshake))
if
len
(
handshake
)
==
0
:
if
len
(
handshake
)
==
0
:
raise
self
.
EClose
(
"Client closed during handshake"
)
raise
self
.
EClose
(
"Client closed during handshake"
)
...
@@ -274,6 +273,7 @@ Connection: Upgrade\r
...
@@ -274,6 +273,7 @@ Connection: Upgrade\r
else
:
else
:
raise
self
.
EClose
(
""
)
raise
self
.
EClose
(
""
)
#self.msg("handshake: " + repr(handshake))
# Parse client WebSockets handshake
# Parse client WebSockets handshake
h
=
self
.
parse_handshake
(
handshake
)
h
=
self
.
parse_handshake
(
handshake
)
...
...
vnc.html
View file @
40f281eb
<!DOCTYPE html>
<html>
<html>
<!--
<!--
noVNC example: simple example using default UI
noVNC example: simple example using default UI
...
...
vnc_auto.html
View file @
40f281eb
<!DOCTYPE html>
<html>
<html>
<!--
<!--
noVNC Example: Automatically connect on page load.
noVNC Example: Automatically connect on page load.
...
...
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