Skip to content

Releases: lesismal/nbio

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

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