From d38a7239749a1642eaae0778d9ddfb1c5d21f442 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Mon, 15 Feb 2016 02:41:19 +0300 Subject: [PATCH] test: http/data_length_constrains: set EVHTTP_CON_READ_ON_WRITE_ERROR --- test/regress_http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/regress_http.c b/test/regress_http.c index bd942578..d7fb4309 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -3801,6 +3801,7 @@ http_data_length_constraints_test(void *arg) evcon = evhttp_connection_base_new(data->base, NULL, "127.0.0.1", port); tt_assert(evcon); + tt_assert(!evhttp_connection_set_flags(evcon, EVHTTP_CON_READ_ON_WRITE_ERROR)); /* also bind to local host */ evhttp_connection_set_local_address(evcon, "127.0.0.1"); -- 2.50.1