Message95396
Ok, I took a look and it seems ok to me but I still get some occasional
failures on Windows from time to time.
Because of the threading nature of our server I suspect that moving
del_channel() before ssl.wrap_socket() call, like this:
- socket = ssl.wrap_socket([ ##etc. ])
- self.del_channel()
- self.set_socket(socket)
+ self.del_channel()
+ self.socket = ssl.wrap_socket(...)
+ self.set_socket(self.socket)
...makes more sense (ps: pay attention, it's "self.socket", not
"socket").
After I did that I stopped seeing the occasional failures (I'm not 100%
sure it's actually related, but...).
This is quite strange, anyway.
I suspect it has something to do with this:
http://entitycrisis.blogspot.com/2009/11/python-3-is-it-doomed.html |
|
Date |
User |
Action |
Args |
2009-11-17 20:01:23 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, gregory.p.smith, josiahcarlson, janssen, pitrou, josiah.carlson, roberte, iElectric, lszyba1, twhitema, jeffo, qwavel, lgedgar |
2009-11-17 20:01:22 | giampaolo.rodola | set | messageid: <1258488082.89.0.884738382915.issue2054@psf.upfronthosting.co.za> |
2009-11-17 20:01:20 | giampaolo.rodola | link | issue2054 messages |
2009-11-17 20:01:20 | giampaolo.rodola | create | |
|