Skip to content

Commit

Permalink
4.13.2 fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Nov 15, 2022
1 parent 411e5ce commit 2d65a9a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea
data
/data*
*~
*.pyc
*.swp
Expand Down
2 changes: 1 addition & 1 deletion code/default/lib/noarch/front_base/boringssl_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def wrap(self):
self._connection = bssl.SSL_new(self._context.ctx)

if self.sni:
bssl.SSL_set_tlsext_host_name(self._connection, self.sni)
bssl.SSL_set_tlsext_host_name(self._connection, utils.to_bytes(self.sni))

bssl.SSL_set_bio(self._connection, bio, bio)

Expand Down
2 changes: 1 addition & 1 deletion code/default/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.13.1
4.13.2
2 changes: 1 addition & 1 deletion code/default/x_tunnel/local/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def load_config():
config.set_var("enable_gae_proxy", 0)
config.set_var("enable_cloudflare", 1)
config.set_var("enable_cloudfront", 0)
config.set_var("enable_heroku", 0)
config.set_var("enable_heroku", 1)
config.set_var("enable_tls_relay", 1)
config.set_var("enable_direct", 0)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ovenchapter.herokuapp.com": {
"sni_policy": "empty",
"sni_policy": "random_prefix",
"ips": [
"54.224.34.30",
"34.201.81.34",
Expand Down
1 change: 1 addition & 0 deletions code/default/x_tunnel/local/tls_relay_front/front.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def set_ips(self, ips):
def request(self, method, host, path="/", headers={}, data="", timeout=120):
headers = dict(headers)
headers["XX-Account"] = self.account
headers["X-Path"] = path

response = self.http_dispatcher.request(method, host, path, dict(headers), data, timeout=timeout)
if not response:
Expand Down

0 comments on commit 2d65a9a

Please sign in to comment.