Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b81448b commit 68aedf7Copy full SHA for 68aedf7
peer/channel.go
@@ -245,9 +245,9 @@ func (c *Channel) Write(bytes []byte) (n int, err error) {
245
if c.dc.BufferedAmount()+uint64(len(bytes)) >= maxBufferedAmount {
246
<-c.sendMore
247
}
248
- // TODO (@kyle): There's an obvious race-condition here.
249
- // This is an edge-case, as most-frequently data won't
250
- // be pooled so synchronously, but is definitely possible.
+ // REMARK: There's an obvious race-condition here. This is an edge-case, as
+ // most-frequently data won't be pooled so synchronously, but is
+ // definitely possible.
251
//
252
// See: https://github.com/pion/sctp/issues/181
253
time.Sleep(time.Microsecond)
0 commit comments