client should not send SetEndian

This commit is contained in:
Michael Davidsaver
2020-02-28 13:57:50 -08:00
parent 648d7ae2c6
commit 7e2b5b55a4
-6
View File
@@ -95,12 +95,6 @@ void Connection::bevEvent(short events)
if(bev && (events&BEV_EVENT_CONNECTED)) {
log_debug_printf(io, "Connected to %s\n", peerName.c_str());
auto tx = bufferevent_get_output(bev.get());
to_evbuf(tx, Header{pva_ctrl_msg::SetEndian,
pva_flags::Control,
0u},
hostBE);
if(bufferevent_enable(bev.get(), EV_READ|EV_WRITE))
throw std::logic_error("Unable to enable BEV");