mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-03 22:47:19 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4294c4d777 | ||
|
|
219d1ab30c | ||
|
|
4e200fd0bd |
@@ -1,3 +1,8 @@
|
||||
26 Februrary 2014: mitmproxy 0.10.1:
|
||||
|
||||
* Fix compatibility with pyOpenSSL 0.14
|
||||
|
||||
|
||||
28 January 2014: mitmproxy 0.10:
|
||||
|
||||
* Support for multiple scripts and multiple script arguments
|
||||
|
||||
@@ -108,6 +108,10 @@ class HandleSNI:
|
||||
self.handler, self.client_conn, self.host, self.port = handler, client_conn, host, port
|
||||
self.key = key
|
||||
|
||||
# Fix pyOpenSSL 0.14 compatibility
|
||||
# https://github.com/mitmproxy/mitmproxy/issues/226
|
||||
self.__name__ = "HandleSNI"
|
||||
|
||||
def __call__(self, client_connection):
|
||||
try:
|
||||
sn = client_connection.get_servername()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
IVERSION = (0, 10)
|
||||
IVERSION = (0, 10, 1)
|
||||
VERSION = ".".join(str(i) for i in IVERSION)
|
||||
MINORVERSION = ".".join(str(i) for i in IVERSION[:1])
|
||||
NAME = "mitmproxy"
|
||||
NAMEVERSION = NAME + " " + VERSION
|
||||
|
||||
Reference in New Issue
Block a user