]> granicus.if.org Git - libevent/commitdiff
Remove bad copy-paste
authorDmitry Ilyin <dima@doty.ru>
Wed, 12 Oct 2022 19:15:21 +0000 (22:15 +0300)
committerDmitry Ilyin <dima@doty.ru>
Wed, 12 Oct 2022 19:15:21 +0000 (22:15 +0300)
ws.c

diff --git a/ws.c b/ws.c
index c8a806cefca8a10522f558d1132eca0c50e6a976..de5cf6de69122a13616821f2bab8251879c04f93 100644 (file)
--- a/ws.c
+++ b/ws.c
@@ -271,7 +271,6 @@ ws_evhttp_read_cb(struct bufferevent *bufev, void *arg)
        struct evbuffer *input = bufferevent_get_input(evws->bufev);
 
        bufferevent_incref_and_lock_(evws->bufev);
-       bufferevent_disable(evws->bufev, EV_WRITE);
        while ((in_len = evbuffer_get_length(input))) {
                unsigned char *data = evbuffer_pullup(input, in_len);
                if (data == NULL) {