Files
Chen Wu 87421bfe92 fix: high thoughput(payload>10KB) cause send failed
1. socket would block at send(), return -1 when set MSG_DONTWAIT
2. changed to ~MSG_DONTWAIT, send() will block until all payload send over
3. recv() should keep MSG_DONTWAIT attribute, otherwise will lead to low thoughtput
2019-01-03 11:47:46 +08:00
..
2018-12-21 19:39:12 +08:00