mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Revert "Merge pull request #67 from vbanos/update-ssl-ciphers"
This reverts commit a6fa04bcae47d1f61d8dac519fba66af0b129d4b, reversing changes made to 6d6f2c9aa0c7a2bf2aa54f7d74e25e072135fae4.
This commit is contained in:
parent
d29a367db6
commit
b3070fabdd
@ -64,7 +64,6 @@ import urlcanon
|
||||
import time
|
||||
import collections
|
||||
import cProfile
|
||||
from urllib3.util.ssl_ import DEFAULT_CIPHERS
|
||||
|
||||
class ProxyingRecorder(object):
|
||||
"""
|
||||
@ -260,7 +259,6 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler):
|
||||
context = ssl.create_default_context()
|
||||
context.check_hostname = False
|
||||
context.verify_mode = ssl.CERT_NONE
|
||||
context.ciphers = DEFAULT_CIPHERS
|
||||
self._remote_server_sock = context.wrap_socket(
|
||||
self._remote_server_sock, server_hostname=self.hostname)
|
||||
except AttributeError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user