Browse Source

Increase SCTP max chunks on queue

Paul-Louis Ageneau 5 years ago
parent
commit
9d635feb30
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/sctptransport.cpp

+ 2 - 0
src/sctptransport.cpp

@@ -62,6 +62,8 @@ void SctpTransport::Init() {
 	usrsctp_sysctl_set_sctp_init_rto_max_default(10 * 1000);       // ms
 	usrsctp_sysctl_set_sctp_heartbeat_interval_default(10 * 1000); // ms
 
+	usrsctp_sysctl_set_sctp_max_chunks_on_queue(10 * 1024);
+
 	// Change congestion control from the default TCP Reno (RFC 2581) to HighSpeed TCP (RFC 3649)
 	usrsctp_sysctl_set_sctp_default_cc_module(SCTP_CC_HSTCP);