]> granicus.if.org Git - libevent/commitdiff
Fix http https_basic/https_filter_basic under valgrind (increase timeout)
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 22 Oct 2018 21:06:47 +0000 (00:06 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Mon, 22 Oct 2018 21:12:10 +0000 (00:12 +0300)
test/regress_http.c

index c7a796509b0832b3a30e35f279061a7b2c253b05..9c7732d92e6caf7dfebf0741cd1399e73c20bae6 100644 (file)
@@ -530,6 +530,8 @@ http_basic_test_impl(void *arg, int ssl, const char *request_line)
 
        evutil_timerclear(&tv);
        tv.tv_usec = 100000;
+       if (ssl)
+               tv.tv_usec *= 10;
        event_base_once(data->base,
            -1, EV_TIMEOUT, http_complete_write, bev, &tv);