FULI

Results 240 comments of FULI

for receiving only connection, it's necessary to send cmdNOP perodically. only 8 bytes in 10 seconds.

394 if !atomic.CompareAndSwapInt32(&s.dataReady, 1, 0) { so if this line fails, there is no incoming data, OR(for extreme case), the goroutine for recvLoop() hasn't been scheduled to ?

for one special case: the caller of smux don't read the incoming data, then , it blocks on : 309 for atomic.LoadInt32(&s.bucket)

https://github.com/xtaci/smux/commit/80072d9b5c44fe531e0e5d7d36b029b87f20065c

Pong is not required, IMHO, 'cause we don't need RTT.

use hardware accelerated encryption algorithm, eg: aes

> lemme look into this, somewhat wired.

could you show me a code snippet which can re-appear the OOM

> clients aiocb is allocated via pool, and will be recycled ``` func init() { aiocbPool.New = func() interface{} { return new(aiocb) } } ```