From: Azat Khuzhin Date: Sun, 14 Feb 2016 23:41:19 +0000 (+0300) Subject: test: http/data_length_constrains: set EVHTTP_CON_READ_ON_WRITE_ERROR X-Git-Tag: release-2.1.6-beta~70^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d38a7239749a1642eaae0778d9ddfb1c5d21f442;p=libevent test: http/data_length_constrains: set EVHTTP_CON_READ_ON_WRITE_ERROR --- 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");