Skip to content

Releases: lesismal/nbio

v1.5.11

19 Sep 07:21
788b091
Compare
Choose a tag to compare
  1. websocket: fix compress flag bit(only set to 1 in first frame) in multi frames

v1.5.10

06 Sep 11:05
Compare
Choose a tag to compare
  1. http: add Engine.OnRequest
  2. epoll: optimize epoll et events
  3. websocket: fix send queue buffer release
  4. websocket: fix callback for nil close message
  5. engine: fix default max write buffer size value setting

v1.5.9

02 Jun 12:25
Compare
Choose a tag to compare
  1. opt err handling and log for addConn
  2. 4th layer: simplify conn flush logic
  3. 4th layer: support DialAsync/DialAsyncTimeout
  4. websocket: fix dialer onclose callback trigger
  5. websocket: limit decompressor buffer size

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