mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-29 06:02:05 +00:00
zapret-antidpi: fix sniext add case
This commit is contained in:
1 parent
9cc348e5bd
commit
af7a6f6c10
1 file changed
+1
@@ -320,6 +320,7 @@ function tls_client_hello_clone(ctx, desync)
|
||||
if not idx_sni then
|
||||
DLOG("tls_client_hello_clone: no SNI extension. adding")
|
||||
table.insert(tdis.handshake[TLS_HANDSHAKE_TYPE_CLIENT].dis.ext, 1, { type = TLS_EXT_SERVER_NAME, dis = { list = {} } } )
|
||||
idx_sni = 1
|
||||
end
|
||||
end
|
||||
if desync.arg.sni_del_ext then
|
||||
|
||||
Reference in new issue
Block a user