Author christian.heimes
Recipients christian.heimes
Date 2021-01-07.08:23:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610007789.81.0.109119647565.issue42854@roundup.psfhosted.org>
In-reply-to
Content
SSL_read() and SSL_write() are limited to int. The new SSL_write_ex() and SSL_read_ex() APIs support size_t just like read(2) and recv(2). Also see bpo-42853.

int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written);
int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);

Both functions return 1 for success or 0 for failure.
History
Date User Action Args
2021-01-07 08:23:09christian.heimessetrecipients: + christian.heimes
2021-01-07 08:23:09christian.heimessetmessageid: <1610007789.81.0.109119647565.issue42854@roundup.psfhosted.org>
2021-01-07 08:23:09christian.heimeslinkissue42854 messages
2021-01-07 08:23:09christian.heimescreate