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
0a72cf90
Commit
0a72cf90
authored
May 15, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset client_settings on connect.
- Otherwise client_setting carry over from other connections.
parent
71d2426a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
websocket.py
websocket.py
+1
-0
No files found.
websocket.py
View file @
0a72cf90
...
@@ -81,6 +81,7 @@ def do_handshake(sock):
...
@@ -81,6 +81,7 @@ def do_handshake(sock):
# Parse settings from the path
# Parse settings from the path
cvars
=
path
.
partition
(
'?'
)[
2
]
.
partition
(
'#'
)[
0
]
.
split
(
'&'
)
cvars
=
path
.
partition
(
'?'
)[
2
]
.
partition
(
'#'
)[
0
]
.
split
(
'&'
)
client_settings
=
{}
for
cvar
in
[
c
for
c
in
cvars
if
c
]:
for
cvar
in
[
c
for
c
in
cvars
if
c
]:
name
,
_
,
value
=
cvar
.
partition
(
'='
)
name
,
_
,
value
=
cvar
.
partition
(
'='
)
client_settings
[
name
]
=
value
and
value
or
True
client_settings
[
name
]
=
value
and
value
or
True
...
...
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