Don't disable reading from the HTTP connection after sending the request to be notified of connection-close in time

This commit is contained in:
Felix Nawothnig 2010-06-01 04:45:55 +02:00 committed by Nick Mathewson
parent 78762383b7
commit c76640b5c2

1
http.c
View File

@ -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);
}