forked from shaba/openuds
Fixed tunnel version
This commit is contained in:
parent
f58cc159a7
commit
d5c9ee341d
@ -51,7 +51,7 @@ BANDWIDTH_TIME = 10
|
|||||||
# Commands LENGTH (all same length)
|
# Commands LENGTH (all same length)
|
||||||
COMMAND_LENGTH = 4
|
COMMAND_LENGTH = 4
|
||||||
|
|
||||||
VERSION = 'v1.0'
|
VERSION = 'v2.0.0'
|
||||||
|
|
||||||
# Valid commands
|
# Valid commands
|
||||||
COMMAND_OPEN = b'OPEN'
|
COMMAND_OPEN = b'OPEN'
|
||||||
|
@ -259,7 +259,7 @@ class TunnelProtocol(asyncio.Protocol):
|
|||||||
url,
|
url,
|
||||||
headers={
|
headers={
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
'User-Agent': f'UDSTunnel-{consts.VERSION}',
|
'User-Agent': f'UDSTunnel/{consts.VERSION}',
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
if not r.ok:
|
if not r.ok:
|
||||||
|
Loading…
Reference in New Issue
Block a user