Skip to content

Releases: lesismal/nbio

v1.5.8

23 Apr 13:46
Compare
Choose a tag to compare
  1. http: fix body reader append logic
  2. websocket: don't call OnClose when ws conn is fast closed before the upgrade succeeds

v1.5.7

22 Apr 08:31
Compare
Choose a tag to compare
  1. websocket: fix writeFrame order in concurrent WriteMessage operation.

v1.5.6

18 Apr 12:53
Compare
Choose a tag to compare

websocket: operate conn.message with lock to avoid concurrent problems.

v1.5.5

17 Apr 17:24
Compare
Choose a tag to compare

v1.5.5

Thanks to @liwnn for providing the details of the websocket parsing bug!

Delete and republish v1.5.4 with bug fixing, using the new version v1.5.5 :

  1. websocket: fix bug for body length parsing.
  2. kqueue: opt write event.

v1.5.4

Socket

  1. epoll/kqueue: clear fd from poller automatically by syscall.Close.
  2. Add flow control for write cache flush to avoid large buffer write failure.
  3. Optimize write cache: use [][]byte to avoid the single large buffer usage.

HTTP:

  1. Change body to [][]byte to avoid single large buffer usage.
  2. Optimize body calculation.
  3. Add MaxHTTPBodySize config.
  4. add Client.Dial configuration.
  5. add Engine.SetETAsyncRead/SetLTSyncRead.

Websocket

  1. Add Lock for parsing logic.
  2. Optimize session consistency.

v1.5.3

24 Feb 08:23
5bf91e6
Compare
Choose a tag to compare
  1. http: fix listener decrease online
  2. nbio.Conn: fix closeWithErrorWithoutLock panic

v1.5.2

23 Feb 16:49
a22b783
Compare
Choose a tag to compare
  1. http: fix listener decrease online
  2. nbio.Conn: fix closeWithErrorWithoutLock panic

瓦特了

v1.5.1

22 Feb 13:05
a22b783
Compare
Choose a tag to compare

v1.5.0

17 Feb 19:16
ffef02e
Compare
Choose a tag to compare
  1. change default num of io eventloop to NumCPU()/4 or 1
  2. update doc
  • fast skip v1.4.0 😄

v1.4.0

14 Feb 08:50
Compare
Choose a tag to compare
  1. nbio.Conn: implement to-write list instead of old to-write buffer, support async sendfile
  2. websocket: opt mem usage by releasing Parser/Processor when not necessory
  3. poller: change default num of io-poller goroutine to 1
  4. poller: add err log for io eventloop exit
  5. poller: support async read(but just for testing, not recommanded to use)
  6. kqueue: handle EBADF/ENOENT/EINVAL
  7. timer: opt Timer.Async, reduce num of goroutine usage
  8. nbio.Engine: add OnWrittenSize for data sent caculation
  9. doc: add contributors, add star history

v1.3.21

25 Dec 14:45
01dc03b
Compare
Choose a tag to compare

Websocket:

  1. fix updated and transfered conn's concurrent oprations
  2. add BlockingModHandleRead and BlockingModTrasferConnToPoller configurations for Upgrader
  3. set KeepaliveTime to 120s by default