From c398d788119564faf16ef856aef897b4c02b4839 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Thu, 2 Feb 2006 22:36:37 +0000 Subject: [PATCH] disable bufferevent after we have received the data that we care for. svn:r197 --- test/regress_http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/regress_http.c b/test/regress_http.c index a7c1423a..9bb3b25f 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -134,6 +134,7 @@ http_readcb(struct bufferevent *bev, void *arg) "Content-Type") != NULL) test_ok++; evhttp_request_free(req); + bufferevent_disable(bev, EV_READ); event_loopexit(NULL); } } -- 2.40.0