Releases: lesismal/nbio
Releases · lesismal/nbio
v1.5.8
v1.5.7
v1.5.6
v1.5.5
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 :
- websocket: fix bug for body length parsing.
- kqueue: opt write event.
v1.5.4
Socket
- epoll/kqueue: clear fd from poller automatically by syscall.Close.
- Add flow control for write cache flush to avoid large buffer write failure.
- Optimize write cache: use [][]byte to avoid the single large buffer usage.
HTTP:
- Change body to [][]byte to avoid single large buffer usage.
- Optimize body calculation.
- Add MaxHTTPBodySize config.
- add Client.Dial configuration.
- add Engine.SetETAsyncRead/SetLTSyncRead.
Websocket
- Add Lock for parsing logic.
- Optimize session consistency.
v1.5.3
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