This commit is contained in:
Michael Davidsaver
2020-04-17 17:15:32 -07:00
parent 7e6a08def7
commit 2a0dd0ee4f
+1
View File
@@ -114,6 +114,7 @@ void ConnBase::bevRead()
if(header[2]&pva_flags::Control) {
// Control messages are not actually useful
evbuffer_drain(rx, 8);
bufferevent_setwatermark(bev.get(), EV_READ, 8, tcp_readahead);
continue;
}
// application message