Browse Source

force pack some data in url

dev
破娃酱 8 years ago
parent
commit
349821221d
  1. 2
      shadowsocks/obfsplugin/http_simple.py

2
shadowsocks/obfsplugin/http_simple.py

@ -198,6 +198,8 @@ class http_simple(plain.plain):
hosts = self.server_info.obfs_param.split(',')
if host not in hosts:
return self.not_match_return(buf)
if len(ret_buf) < 4:
return self.not_match_return(buf)
if len(datas) > 1:
ret_buf += datas[1]
if len(ret_buf) >= 7:

Loading…
Cancel
Save