2
0
Эх сурвалжийг харах

Added comment about SCTP_FRAGMENT_INTERLEAVE

Paul-Louis Ageneau 5 жил өмнө
parent
commit
a2b2126930
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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) {