Fix (and test) sending large messages over message_bridge
Brennan installed message_bridge and it didn't start. Whops... I added
a test to reproduce it too.
Change-Id: I54e3e76af5588760599445660876071be37440df
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/network/sctp_server.h b/aos/network/sctp_server.h
index 1f7e2ee..800c2c1 100644
--- a/aos/network/sctp_server.h
+++ b/aos/network/sctp_server.h
@@ -57,7 +57,8 @@
void SetStreamPriority(sctp_assoc_t assoc_id, int stream_id,
uint16_t priority);
- void SetMaxSize(size_t max_size) { sctp_.SetMaxSize(max_size); }
+ void SetMaxReadSize(size_t max_size) { sctp_.SetMaxReadSize(max_size); }
+ void SetMaxWriteSize(size_t max_size) { sctp_.SetMaxWriteSize(max_size); }
void SetPoolSize(size_t pool_size) { sctp_.SetPoolSize(pool_size); }