From e8f5a61d6d08169adcb7ee73f50963b97d433ed5 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin Date: Wed, 12 Oct 2022 22:15:21 +0300 Subject: [PATCH] Remove bad copy-paste --- ws.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ws.c b/ws.c index c8a806cefc..de5cf6de69 100644 --- 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) {