Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

starttls: Add "call_connection_made" arg to SSLProtocol.__init__ #440

Closed
wants to merge 1 commit into from

Conversation

1st1
Copy link
Member

@1st1 1st1 commented Oct 5, 2016

This is the key modification of sslproto.py required to implement starttls. With this patch in place, we can implement starttls as an external package without copying/pasting of sslproto.py.

The patch is super small and non-invasive, only adding an extra argument to SSLProtocol.__init__ (everything inside sslproto.py is an implementation detail of asyncio).

@1st1
Copy link
Member Author

1st1 commented Oct 5, 2016

@gvanrossum Are you OK with me merging this in 3.6 beta 2?

@gvanrossum
Copy link
Member

Yes, LGTM.

@1st1
Copy link
Member Author

1st1 commented Oct 5, 2016

Thanks! Merged by hand in d4abdd5. I'll make a PyPI package for starttls soon. Hopefully, this PR is enough (my current understanding is that it should be).

@1st1 1st1 closed this Oct 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants