Message137948
| Author |
dsiroky |
| Recipients |
dsiroky, giampaolo.rodola, pitrou |
| Date |
2011年06月09日.11:18:04 |
| SpamBayes Score |
2.9824438e-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: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 |
|