Home
last modified time | relevance | path

Searched refs:tv_retry (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Dhttp.c1408 struct timeval tv_retry = evcon->initial_retry_timeout; in evhttp_connection_cb_cleanup() local
1413 tv_retry.tv_usec *= 2; in evhttp_connection_cb_cleanup()
1414 if (tv_retry.tv_usec > 1000000) { in evhttp_connection_cb_cleanup()
1415 tv_retry.tv_usec -= 1000000; in evhttp_connection_cb_cleanup()
1416 tv_retry.tv_sec += 1; in evhttp_connection_cb_cleanup()
1418 tv_retry.tv_sec *= 2; in evhttp_connection_cb_cleanup()
1419 if (tv_retry.tv_sec > 3600) { in evhttp_connection_cb_cleanup()
1420 tv_retry.tv_sec = 3600; in evhttp_connection_cb_cleanup()
1421 tv_retry.tv_usec = 0; in evhttp_connection_cb_cleanup()
1424 event_add(&evcon->retry_ev, &tv_retry); in evhttp_connection_cb_cleanup()
/freebsd/contrib/libevent/
H A Dhttp.c1408 struct timeval tv_retry = evcon->initial_retry_timeout; in evhttp_connection_cb_cleanup() local
1413 tv_retry.tv_usec *= 2; in evhttp_connection_cb_cleanup()
1414 if (tv_retry.tv_usec > 1000000) { in evhttp_connection_cb_cleanup()
1415 tv_retry.tv_usec -= 1000000; in evhttp_connection_cb_cleanup()
1416 tv_retry.tv_sec += 1; in evhttp_connection_cb_cleanup()
1418 tv_retry.tv_sec *= 2; in evhttp_connection_cb_cleanup()
1419 if (tv_retry.tv_sec > 3600) { in evhttp_connection_cb_cleanup()
1420 tv_retry.tv_sec = 3600; in evhttp_connection_cb_cleanup()
1421 tv_retry.tv_usec = 0; in evhttp_connection_cb_cleanup()
1424 event_add(&evcon->retry_ev, &tv_retry); in evhttp_connection_cb_cleanup()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c3774 const struct timeval tv_retry = { 0, 500000 }; in http_connection_retry_test_basic() local
3776 evhttp_connection_set_initial_retry_tv(evcon, &tv_retry); in http_connection_retry_test_basic()
/freebsd/contrib/libevent/test/
H A Dregress_http.c3774 const struct timeval tv_retry = { 0, 500000 }; in http_connection_retry_test_basic() local
3776 evhttp_connection_set_initial_retry_tv(evcon, &tv_retry); in http_connection_retry_test_basic()