[Twisted-Python] SSL Negotiation / connectionMade() callback

dkarbott at comcast.net dkarbott at comcast.net
Thu Apr 5 14:21:15 EDT 2007

I've been playing around with twisted a little.  I have written an internet.protocol.Protocol subclass that I want to run over SSL.   It seems that the Protocol.connectionMade() callback gets invoked before SSL negotiation is complete. 

Ideally, I don't want my Protocol to send any data until the SSL negotiation is completley finished.

Is there an easy way to get callback when the SSL negotiation is done?

Twisted Version: 2.0.1 (emerge'd from gentoo portage)
Also, I have the SSL context factories set up to do client authentication.

Any help would be much appreciated.

-- Darrell

More information about the Twisted-Python mailing list