Commit 0a72cf90 authored by Joel Martin's avatar Joel Martin

Reset client_settings on connect.

- Otherwise client_setting carry over from other connections.
parent 71d2426a
......@@ -81,6 +81,7 @@ def do_handshake(sock):
# Parse settings from the path
cvars = path.partition('?')[2].partition('#')[0].split('&')
client_settings = {}
for cvar in [c for c in cvars if c]:
name, _, value = cvar.partition('=')
client_settings[name] = value and value or True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment