Author dsiroky
Recipients dsiroky, giampaolo.rodola, pitrou
Date 2011-06-09.11:18:04
SpamBayes Score 2.98244e-05
Marked as misclassified No
Message-id <1307618285.39.0.88218782655.issue12197@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-06-09 11:18:05dsirokysetrecipients: + dsiroky, pitrou, giampaolo.rodola
2011-06-09 11:18:05dsirokysetmessageid: <1307618285.39.0.88218782655.issue12197@psf.upfronthosting.co.za>
2011-06-09 11:18:04dsirokylinkissue12197 messages
2011-06-09 11:18:04dsirokycreate