}
debug2("channel %d: open confirm rwindow %u rmax %u", c->self,
c->remote_window, c->remote_maxpacket);
if (c->remote_maxpacket > BUFFER_MAX_CHUNK) {
c->remote_maxpacket = BUFFER_MAX_CHUNK;
debug2("channel %d: maxpacket clamped to %u", c->self,
BUFFER_MAX_CHUNK);
packet_check_eom();