Releases: lesismal/nbio
Releases · lesismal/nbio
v1.5.2
v1.5.1
v1.5.0
v1.4.0
- nbio.Conn: implement to-write list instead of old to-write buffer, support async sendfile
- websocket: opt mem usage by releasing Parser/Processor when not necessory
- poller: change default num of io-poller goroutine to 1
- poller: add err log for io eventloop exit
- poller: support async read(but just for testing, not recommanded to use)
- kqueue: handle EBADF/ENOENT/EINVAL
- timer: opt Timer.Async, reduce num of goroutine usage
- nbio.Engine: add OnWrittenSize for data sent caculation
- doc: add contributors, add star history
v1.3.21
v1.3.20
deprecated v1.3.19.
v1.3.20 covers v1.3.19 and fixes Conn
types problems for conversion:
- epoll: handle err events after read/write events
- kqueue: fix EOF err type when closed by peer
- epoll/kqueue: optimize event setting
- http: manage dialer conns by http engine, add DialerOnline
- websocket: async close if BlockingModAsyncWrite
- websocket: add SessionWithLock/SessionWithContext to serialize the order of the session set and get
- websocket: fix old reading loop's conflict with 3rd frameworks, add UpgradeWithoutHandlingReadForConnFromSTDServer
v1.3.18
- optimize udp conn key
- clear execList after used
- optimize accept error handling
- 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
v1.3.16
- poller: support EPOLLET+EPOLLONESHOT
- websocket: separate reader from Upgrader to Conn, use dynamic goroutine to handle async write
- http: opt engine conns storage to avoid big map gc
- taskpool: fix concurrent num calculation
- logging: remove Logger.SetLevel