mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-30 16:07:24 +08:00
Merge pull request #595 from swcoffee/master
fix: missing field 'version' when distributing tuic protocol in stash
This commit is contained in:
@@ -415,6 +415,7 @@ class Stash extends AbstractProtocol
|
|||||||
'heartbeat-interval' => 10000,
|
'heartbeat-interval' => 10000,
|
||||||
'request-timeout' => 8000,
|
'request-timeout' => 8000,
|
||||||
'max-udp-relay-packet-size' => 1500,
|
'max-udp-relay-packet-size' => 1500,
|
||||||
|
'version' => data_get($protocol_settings, 'version', 5),
|
||||||
];
|
];
|
||||||
|
|
||||||
$array['skip-cert-verify'] = (bool) data_get($protocol_settings, 'tls.allow_insecure', false);
|
$array['skip-cert-verify'] = (bool) data_get($protocol_settings, 'tls.allow_insecure', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user