Searched refs:max_time (Results 1 – 5 of 5) sorted by relevance
/openssl/doc/man3/ |
H 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/crypto/bio/ |
H A D | bio_sock.c | 393 int BIO_socket_wait(int fd, int for_read, time_t max_time) in BIO_socket_wait() argument 401 if (max_time == 0) in BIO_socket_wait() 405 if (max_time < now) in BIO_socket_wait() 411 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
|
H A D | bio_lib.c | 938 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument 945 if (max_time == 0) /* no timeout */ in bio_wait() 950 return BIO_socket_wait(fd, BIO_should_read(bio), max_time); in bio_wait() 954 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait() 978 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait() argument 980 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait() 999 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in BIO_do_connect_retry() local 1042 rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_do_connect_retry()
|
/openssl/crypto/http/ |
H 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() 494 static int may_still_retry(time_t max_time, int *ptimeout) in may_still_retry() argument 498 if (max_time != 0) { in may_still_retry() 499 if (max_time < now) { in may_still_retry() 503 time_diff = max_time - now; in may_still_retry() 1158 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_get() local 1190 && may_still_retry(max_time, &timeout)) { in OSSL_HTTP_get() 1323 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_proxy_connect() local [all …]
|
/openssl/include/openssl/ |
H A D | bio.h.in | 724 int BIO_socket_wait(int fd, int for_read, time_t max_time); 726 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
|
Completed in 42 milliseconds