]> granicus.if.org Git - libevent/commitdiff
Don't disable reading from the HTTP connection after sending the request to be notifi...
authorFelix Nawothnig <felix.nawothnig@gmail.com>
Tue, 1 Jun 2010 02:45:55 +0000 (04:45 +0200)
committerNick Mathewson <nickm@torproject.org>
Thu, 4 Nov 2010 18:01:26 +0000 (14:01 -0400)
http.c

diff --git a/http.c b/http.c
index d3d82fe7c4786ca985a7a848db111941012e86fb..e6b5825c1451ddb8b64cf974b4c2beaa06b2e230 100644 (file)
--- a/http.c
+++ b/http.c
@@ -342,7 +342,6 @@ evhttp_write_buffer(struct evhttp_connection *evcon,
        evcon->cb = cb;
        evcon->cb_arg = arg;
 
-       bufferevent_disable(evcon->bufev, EV_READ);
        bufferevent_enable(evcon->bufev, EV_WRITE);
 }