2
0
mirror of https://github.com/openssl/openssl.git synced 2025-04-12 20:30:52 +08:00
Dr. David von Oheimb e98c7350bf Improve BIO_socket_wait(), BIO_wait(), BIO_connect_retry(), and their docs
Add/extend range check for 'fd' argument of BIO_socket_wait() and bio_wait()
Correct nap time calculations in bio_wait(), thus correcting also BIO_wait()
Update a type cast from 'unsigned long' to 'unsigned int'
Extend the comments and documentation of BIO_wait()

Rename BIO_connect_retry() to BIO_do_connect_retry()
Make its 'timeout' argument < 0 lead to BIO_do_connect() tried only once
Add optional 'nap_milliseconds' parameter determining the polling granularity
Correct and generalize the retry case checking
Extend the comments and documentation of BIO_do_connect_retry()

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11986)
2020-06-16 18:51:39 +02:00
..
2019-10-10 19:05:05 +02:00
2019-09-28 20:26:35 +02:00
2020-06-04 14:33:57 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2019-09-28 20:26:35 +02:00
2020-04-23 13:55:52 +01:00
2019-09-28 20:26:35 +02:00
2019-09-28 20:26:35 +02:00
2019-11-10 00:30:13 +01:00
2020-04-23 13:55:52 +01:00
2019-09-28 20:26:35 +02:00
2019-09-28 20:26:35 +02:00
2019-09-28 20:26:35 +02:00
2019-09-28 20:26:35 +02:00