From 57e7b54b7b4102de0c5776a1268367c18090033b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 31 Jul 2009 11:11:45 -0400 Subject: Teach read_event/write_event manipulators about bufferevents. Add an --enable-bufferevents config switch. --- src/or/relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/relay.c') diff --git a/src/or/relay.c b/src/or/relay.c index b12cef4912..480a291037 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -2214,7 +2214,7 @@ set_streams_blocked_on_circ(circuit_t *circ, or_connection_t *orconn, edge->edge_blocked_on_circ = block; } - if (!conn->read_event) { + if (!conn->read_event && !HAS_BUFFEREVENT(conn)) { /* This connection is a placeholder for something; probably a DNS * request. It can't actually stop or start reading.*/ continue; -- cgit v1.2.3-54-g00ecf