Skip to content

Commit

Permalink
Fixed ProxyConnector ignoring verify_ssl, ssl_context
Browse files Browse the repository at this point in the history
  • Loading branch information
panda73111 committed Jun 24, 2015
1 parent fc0a1c0 commit 79846e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def _create_connection(self, req):
"Transport does not expose socket instance")
transport.pause_reading()
transport, proto = yield from self._loop.create_connection(
self._factory, ssl=True, sock=rawsock,
self._factory, ssl=self.ssl_context, sock=rawsock,
server_hostname=req.host)

return transport, proto
Expand Down

0 comments on commit 79846e1

Please sign in to comment.