This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author David Ford (FirefighterBlu3)
Recipients Alecz, David Ford (FirefighterBlu3), moritzs, r.david.murray
Date 2015-07-03.04:32:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435897951.22.0.109032453399.issue18543@psf.upfronthosting.co.za>
In-reply-to
Content
Third version of this patch and a short test suite specifically for this problem.

per awareness of :issue:`23166` I rewrote my patch to handle subclassed HTTPS handlers. There are also exceptions raised if an attempt to install more than one HTTPS handler is done. HTTPS does not play well with multiple handlers trying to process data and will immediately fail on a second attempt to negotiate a handshake on an established socket.

Additionally, if (a) an HTTPSHandler is already in the chain and (b) doesn't have an SSL context, then we create an appropriate context and attach it to the existing handler
History
Date User Action Args
2015-07-03 04:32:31David Ford (FirefighterBlu3)setrecipients: + David Ford (FirefighterBlu3), r.david.murray, moritzs, Alecz
2015-07-03 04:32:31David Ford (FirefighterBlu3)setmessageid: <1435897951.22.0.109032453399.issue18543@psf.upfronthosting.co.za>
2015-07-03 04:32:31David Ford (FirefighterBlu3)linkissue18543 messages
2015-07-03 04:32:30David Ford (FirefighterBlu3)create