Message312956
| Author | njs |
|---|---|
| Recipients | alex, christian.heimes, docs@python, dstufft, janssen, joernheissler, njs |
| Date | 2018-02-26.20:54:16 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1519678456.56.0.467229070634.issue31711@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
My point is that SSL_write(3ssl) says "WARNING: When calling SSL_write() with num=0 bytes to be sent the behaviour is undefined." Apparently on the particular openssl you're looking at, it gives SSL_ERROR_SYSCALL with error code == 0 and len == 0, but the openssl devs claim this is some arbitrary thing that shouldn't be depended on. Just as a general principle it would be nice if performing ordinary operations on an SSLSocket from Python did not invoke undefined behavior :-) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-02-26 20:54:16 | njs | set | recipients: + njs, janssen, christian.heimes, alex, docs@python, dstufft, joernheissler |
| 2018-02-26 20:54:16 | njs | set | messageid: <1519678456.56.0.467229070634.issue31711@psf.upfronthosting.co.za> |
| 2018-02-26 20:54:16 | njs | link | issue31711 messages |
| 2018-02-26 20:54:16 | njs | create | |