Browse Source

Added comment about SCTP_FRAGMENT_INTERLEAVE

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

+ 2 - 0
src/sctptransport.cpp

@@ -455,6 +455,8 @@ int SctpTransport::handleRecv(struct socket *sock, union sctp_sockstore addr, co
 		if (!len)
 			return 0; // Ignore
 
+		// SCTP_FRAGMENT_INTERLEAVE does not seem to work as expected for messages > 64KB,
+		// therefore partial notifications and messages need to be handled separately.
 		if (flags & MSG_NOTIFICATION) {
 			// SCTP event notification
 			if (flags & MSG_EOR) {