Browse Source

fix compatible of tls1.2_ticket_fastauth

dev
破娃酱 8 years ago
parent
commit
ab236ff03e
  1. 2
      shadowsocks/obfsplugin/obfs_tls.py

2
shadowsocks/obfsplugin/obfs_tls.py

@ -194,7 +194,7 @@ class tls_ticket_auth(plain.plain):
def decode_error_return(self, buf): def decode_error_return(self, buf):
self.handshake_status = -1 self.handshake_status = -1
self.overhead = 0 self.overhead = 0
if self.method == 'tls1.2_ticket_auth': if self.method in ['tls1.2_ticket_auth', 'tls1.2_ticket_fastauth']:
return (b'E'*2048, False, False) return (b'E'*2048, False, False)
return (buf, True, False) return (buf, True, False)

Loading…
Cancel
Save