From 0faaa395921e3da1da5202befd849614c6e9c37c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 29 Nov 2010 22:44:18 -0500 Subject: [PATCH] Try to fix an assertion failure related to close detection f700566c removed a line from evhttp_connection_stop_detectclose that cleared the EVHTTP_CON_CLOSEDETECT flag. I think this was an accident, and suspect that it may be the cause of bug 3069555. --- http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http.c b/http.c index f867b639..c5150439 100644 --- a/http.c +++ b/http.c @@ -1183,6 +1183,8 @@ evhttp_connection_start_detectclose(struct evhttp_connection *evcon) static void evhttp_connection_stop_detectclose(struct evhttp_connection *evcon) { + evcon->flags &= ~EVHTTP_CON_CLOSEDETECT; + bufferevent_disable(evcon->bufev, EV_READ); } -- 2.49.0