mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-08 07:37:13 +08:00
update 04-09 23:41
This commit is contained in:
@@ -192,6 +192,13 @@ local function processData(szType, content)
|
||||
result.read_buffer_size = 2
|
||||
result.write_buffer_size = 2
|
||||
end
|
||||
if info.net == 'grpc' then
|
||||
if info.path then
|
||||
result.serviceName = info.path
|
||||
elseif info.serviceName then
|
||||
result.serviceName = info.serviceName
|
||||
end
|
||||
end
|
||||
if info.net == 'quic' then
|
||||
result.quic_guise = info.type
|
||||
result.quic_key = info.key
|
||||
@@ -202,7 +209,11 @@ local function processData(szType, content)
|
||||
end
|
||||
if info.tls == "tls" or info.tls == "1" then
|
||||
result.tls = "1"
|
||||
result.tls_host = info.host
|
||||
if info.sni then
|
||||
result.tls_host = info.sni
|
||||
elseif info.host then
|
||||
result.tls_host = info.host
|
||||
end
|
||||
result.insecure = 1
|
||||
else
|
||||
result.tls = "0"
|
||||
|
||||
Reference in New Issue
Block a user