MINOR: connections: Make rcv_buf mandatory and nuke cs_recv().
Reintroduce h2_rcv_buf(), right now it just does what cs_recv() did, but
should be modified later.
diff --git a/src/stream_interface.c b/src/stream_interface.c
index e56a7c1..591d835 100644
--- a/src/stream_interface.c
+++ b/src/stream_interface.c
@@ -1244,7 +1244,7 @@
break;
}
- ret = cs_recv(cs, &ic->buf, max, co_data(ic) ? CO_RFL_BUF_WET : 0);
+ ret = cs->conn->mux->rcv_buf(cs, &ic->buf, max, co_data(ic) ? CO_RFL_BUF_WET : 0);
if (cs->flags & CS_FL_RCV_MORE)
si->flags |= SI_FL_WAIT_ROOM;