Jonathan 'Arrouan' ROUZAUD-CORNABAS wrote: > Diff file between the modified version and the original 0.7.3 > channels.py file.
Thanks for taking a look at the problem. In a typical Twisted-based application that would be the correct thing to do. However, Chandler handles a little SSL differently, so we need a little different approach. Chandler SSL code is mostly in parcels/osaf/framework/certstore directory, and in the ssl.py specifically. Typically where one would use reactor.connectXXX for normal Twisted application, in Chandler you would import ssl.py and call ssl.connectXXX. The connectSSL function takes one extra argument, repositoryView. The SSL code actually maintains its own repositoryView, so you can (AFAIK) pass in any valid repository view here, for example wx.GetApp().UIRepositoryView. Note that you can still use reactor.connectTCP if that connection does not need to switch to TLS later (like in some cases with mail server connections). Can you change your patch to use the Chandler way? And do you know of an RSS feed that would be good to test against? -- Heikki Toivonen
signature.asc
Description: OpenPGP digital signature
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
