Message137948
I didn't meant blocking as setblocking(True). I use select/poll but I can't use returned value from send() immediately since in Windows there are often needed more send rounds to actually know how much data was sent.
E.g. in Linux I know it after the first call:
sslsock.write("abcd") -> returns 2
poll(sslsock)
sslsock.write("cd")
in Windows I must do:
sslsock.write("abcd") -> raises SSLError
poll(sslsock)
sslsock.write("abcd") -> returns 4
As I wrote it might be inconsistency in OpenSSL and not in Python's wrapper. |
|
Date |
User |
Action |
Args |
2011-06-09 11:18:05 | dsiroky | set | recipients:
+ dsiroky, pitrou, giampaolo.rodola |
2011-06-09 11:18:05 | dsiroky | set | messageid: <1307618285.39.0.88218782655.issue12197@psf.upfronthosting.co.za> |
2011-06-09 11:18:04 | dsiroky | link | issue12197 messages |
2011-06-09 11:18:04 | dsiroky | create | |
|