Searched refs:max_time (Results 1 – 5 of 5) sorted by relevance
/openssl-master/doc/man3/ |
A D | BIO_socket_wait.pod | 15 int BIO_socket_wait(int fd, int for_read, time_t max_time); 17 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds); 23 else for writing, at most until B<max_time>. 24 It succeeds immediately if B<max_time> == 0 (which means no timeout given). 26 BIO_wait() waits at most until B<max_time> on the given (typically socket-based) 29 It succeeds immediately if B<max_time> == 0 (which means no timeout given).
|
/openssl-master/crypto/bio/ |
A D | bio_sock.c | 391 int BIO_socket_wait(int fd, int for_read, time_t max_time) in BIO_socket_wait() argument 399 if (max_time == 0) in BIO_socket_wait() 403 if (max_time <= now) in BIO_socket_wait() 409 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
|
A D | bio_lib.c | 844 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument 851 if (max_time == 0) /* no timeout */ in bio_wait() 856 return BIO_socket_wait(fd, BIO_should_read(bio), max_time); in bio_wait() 860 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait() 884 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait() argument 886 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait() 905 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in BIO_do_connect_retry() local 948 rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_do_connect_retry()
|
/openssl-master/crypto/http/ |
A D | http_client.c | 66 time_t max_time; /* Maximum end time of current transfer, or 0 */ member 259 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected() 261 rctx->max_time = rctx->max_total_time; in OSSL_HTTP_REQ_CTX_set_expected() 838 if (BIO_wait(rctx->rbio, rctx->max_time, 100 /* milliseconds */) <= 0) in OSSL_HTTP_REQ_CTX_exchange() 1221 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_proxy_connect() local 1282 rv = BIO_wait(fbio, max_time, 100 /* milliseconds */); in OSSL_HTTP_proxy_connect()
|
/openssl-master/include/openssl/ |
A D | bio.h.in | 682 int BIO_socket_wait(int fd, int for_read, time_t max_time); 684 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
|
Completed in 16 milliseconds