Cap `MessageStream` buffer size to 1MB

We temporarily let it grow when the message size exceed the limit,
but restore the buffer's capacity shortly after. This ensures that,
for each connection in its entire lifetime, we only ever use 1MB.
339069b1d3Antonio Scandurra committed on 5/31/2022, 9:16:32 AMparentda46d78
17 files changedLine totals unavailable