Преглед на файлове

Added comment about SCTP_FRAGMENT_INTERLEAVE

Paul-Louis Ageneau преди 5 години
родител
ревизия
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) {