From ab130875264895d92e20fae0f47a58f2408abacc Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Tue, 19 May 2020 00:52:01 +0300 Subject: [PATCH] test: fix http/autofree_connection Refs: #182 (cherry picked from commit 1cc94feab81e7387041edc32be9843f66847072d) --- test/regress_http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/regress_http.c b/test/regress_http.c index 8f30b57b..f9a66e5c 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -1320,6 +1320,9 @@ http_autofree_connection_test(void *arg) evhttp_connection_free_on_completion(evcon); evcon = NULL; + // req0 + event_base_dispatch(data->base); + // req1 event_base_dispatch(data->base); /* at this point, the http server should have no connection */