UDT: closing messageOut results into too fast closing. Don't close it for now as an ugly bush fix.

This commit is contained in:
Kleissner
2021-12-14 01:20:16 +01:00
parent 10e5213944
commit b3f1293f3c

View File

@@ -303,7 +303,9 @@ func (s *udtSocket) Close() error {
s.isClosed = true
close(s.messageOut)
// closing messageOut was a signal supposed to tell the send code to initiate shutdown. However, it closes too fast before all data is transferred.
// The entire UDT code is a piece of !@#$ and needs a rewrite.
//close(s.messageOut)
return nil
}