mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Fix http https_basic/https_filter_basic under valgrind (increase timeout)
This commit is contained in:
parent
15bfe712a7
commit
5f1b4dfa02
@ -530,6 +530,8 @@ http_basic_test_impl(void *arg, int ssl, const char *request_line)
|
|||||||
|
|
||||||
evutil_timerclear(&tv);
|
evutil_timerclear(&tv);
|
||||||
tv.tv_usec = 100000;
|
tv.tv_usec = 100000;
|
||||||
|
if (ssl)
|
||||||
|
tv.tv_usec *= 10;
|
||||||
event_base_once(data->base,
|
event_base_once(data->base,
|
||||||
-1, EV_TIMEOUT, http_complete_write, bev, &tv);
|
-1, EV_TIMEOUT, http_complete_write, bev, &tv);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user