Skip to content

Releases: lesismal/nbio

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

v1.3.20

16 Nov 06:07
0d7a6db
Compare
Choose a tag to compare

deprecated v1.3.19.
v1.3.20 covers v1.3.19 and fixes Conn types problems for conversion:

  1. epoll: handle err events after read/write events
  2. kqueue: fix EOF err type when closed by peer
  3. epoll/kqueue: optimize event setting
  4. http: manage dialer conns by http engine, add DialerOnline
  5. websocket: async close if BlockingModAsyncWrite
  6. websocket: add SessionWithLock/SessionWithContext to serialize the order of the session set and get
  7. websocket: fix old reading loop's conflict with 3rd frameworks, add UpgradeWithoutHandlingReadForConnFromSTDServer

v1.3.18

28 Aug 14:33
1eb1c5f
Compare
Choose a tag to compare
  1. optimize udp conn key
  2. clear execList after used
  3. optimize accept error handling
  4. websocket:

1)stop handle message after conn.Close in blocking mod
2)don't calling onmessage handler when closed
3)handle close without code and reason
4)enable/disable write compression as the remote does

v1.3.17

21 Jun 04:24
9d2ae1d
Compare
Choose a tag to compare

http: add log for new connections
websocket: opt mask, tidy CloseMessage code and reason
call OnClose handler async
timer: use std timer

v1.3.16

22 May 13:08
257847d
Compare
Choose a tag to compare
  1. poller: support EPOLLET+EPOLLONESHOT
  2. websocket: separate reader from Upgrader to Conn, use dynamic goroutine to handle async write
  3. http: opt engine conns storage to avoid big map gc
  4. taskpool: fix concurrent num calculation
  5. logging: remove Logger.SetLevel

v1.3.15

14 May 18:44
05cfe63
Compare
Choose a tag to compare

websocket: fix conn from engine blocking mod has not setting parser

v1.3.14

14 May 11:20
0bf3b46
Compare
Choose a tag to compare
  1. fix websocket async write goroutine leak
  2. support transferring std *TCPConn and llib's *tls.Conn which are from std http server to nbhttp.Engine and manage io by nbio poller
  3. support user customized websocket compressor/decompressor
  4. change DefaultReadBufferSize to 64k

v1.3.13

09 May 04:11
6e2a0b1
Compare
Choose a tag to compare
  1. websocket: fix goroutine leak for blocking mod connection with async write
  2. github actions: fix autobahn and codeql error

v1.3.12

23 Apr 01:49
22b16c4
Compare
Choose a tag to compare

v1.3.11

12 Apr 06:54
ba8d4c4
Compare
Choose a tag to compare
  1. fix nil pointer assertion when release http request body
  2. simplify mempool implementation
  3. http: support multi listeners
  4. taskpool: check nil func
  5. tidy, update doc