Compare commits

...

3 Commits

Author SHA1 Message Date
Aldo Cortesi
4294c4d777 Don't insist that the maintenance version of netlib match. 2014-02-27 08:39:04 +13:00
Maximilian Hils
219d1ab30c bump version 2014-02-26 14:17:43 +01:00
Maximilian Hils
4e200fd0bd fix #226 2014-02-26 14:13:37 +01:00
4 changed files with 12 additions and 2 deletions

View File

@@ -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

View File

@@ -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()

View File

@@ -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

View File

@@ -99,7 +99,7 @@ setup(
"Topic :: Software Development :: Testing"
],
install_requires=[
"netlib>=%s"%version.VERSION,
"netlib>=%s"%version.MINORVERSION,
"urwid>=1.1",
"pyasn1>0.1.2",
"pyopenssl>=0.13",