Skip to content

Commit ab236ff

Browse files
committed
fix compatible of tls1.2_ticket_fastauth
1 parent 4198ec8 commit ab236ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shadowsocks/obfsplugin/obfs_tls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def server_encode(self, buf):
194194
def decode_error_return(self, buf):
195195
self.handshake_status = -1
196196
self.overhead = 0
197-
if self.method == 'tls1.2_ticket_auth':
197+
if self.method in ['tls1.2_ticket_auth', 'tls1.2_ticket_fastauth']:
198198
return (b'E'*2048, False, False)
199199
return (buf, True, False)
200200

0 commit comments

Comments
 (0)