Skip to content

Commit

Permalink
Release 4.12.1, fix GAE not work issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Oct 25, 2022
1 parent ca9026b commit 5eb9b35
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
12 changes: 6 additions & 6 deletions code/default/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@



测试版(Test version 4.12.0):
[Win10 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.0/XX-Net-win10-4.12.0.7z)
[Win7 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.0/XX-Net-win7-4.12.0.7z)
[Mac 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.0/XX-Net-mac-4.12.0.7z)
[Linux 版下载](https://github.com/XX-net/XX-Net/archive/4.12.0.zip)
[Android版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.0/XX-Net-4.12.0.apk)
测试版(Test version 4.12.1):
[Win10 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.1/XX-Net-win10-4.12.1.7z)
[Win7 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.1/XX-Net-win7-4.12.1.7z)
[Mac 版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.1/XX-Net-mac-4.12.1.7z)
[Linux 版下载](https://github.com/XX-net/XX-Net/archive/4.12.1.zip)
[Android版下载](https://github.com/XX-net/XX-Net/releases/download/4.12.1/XX-Net-4.12.1.apk)
8 changes: 7 additions & 1 deletion code/default/lib/noarch/front_base/tlslite_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,16 @@ def get_cert(self):
from asn1crypto.x509 import Certificate
cert = Certificate.load(cert)

try:
altName = cert.subject_alt_name_value.native
except:
altName = []

self.peer_cert = {
"cert": cert,
"issuer_commonname": cert.issuer.human_friendly,
"commonName": "",
"altName": cert.subject_alt_name_value.native
"altName": altName
}

return self.peer_cert
Expand Down Expand Up @@ -157,6 +162,7 @@ def __init__(self, logger, ca_certs=None, cipher_suites=None, support_http2=True
self.settings = HandshakeSettings()

self.support_alpn_npn = None
self.alpn = []
if support_http2:
self.alpn = [
bytearray(b"h2"),
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.12.0
4.12.1

0 comments on commit 5eb9b35

Please sign in to comment.