Releases: cloudwego/netpoll
Releases · cloudwego/netpoll
v0.6.5
v0.6.4
v0.6.3
Merge pull request #352 from cloudwego/release-v0.6.3 chore: release v0.6.3
v0.6.2
v0.6.1
Feature
- [#313] feat: allow GetBytes to get all bytes
Fix
- [#335] fix: Peek OOM and performance issue
- [#332] fix: return a correct error when failed to access concurrent connections
- [#327] fix: _typos.toml and some typos
- [#311] fix: delay accept new connections if out of fds
Chore
- [#337] chore: add memory-leak test for cross nodes peek
- [#336] chore: use 127.0.0.1 and unique port for all test listener
- [#329] chore: replace external dns server to private tcp server
- [#321] perf: use dirtmake to reduce memclr cost
- [#315] perf: nocopy read for ReadString and ReadBinary API if possible
v0.6.0
Feature
- [#306] feat: lazy init pollers to avoid create any poller goroutines if netpoll is not used
- [#303] feat: add WithOnDisconnect callback
- [#300] feat: netpoll exception implement net.Error interface
- [#294] feat: add SetRunner option
Fix
- [#307] fix: ctx race when disconnect callback run with connect callback
- [#304] fix: connection leak when poller close connection but onRequest callback just finished
- [#296] fix: stop timer when read triggered by err
Chore
- [#302] ci: bump the version of actions/checkout and actions/setup-go
v0.5.1
v0.5.0
Optimize
- [#274] optimize: increase first bookSize to 8KB to reudce overhead for connection read at begin
- [#273] optimize: ignore EOF when read a closed connection
Fix
- [#283] fix: protect operator dont be detach twice
- [#280] fix: detach operator race
- [#278] fix: OnRequest should wait all readable data consumed when sender close connection
- [#276] fix: compile error
- [#238] fix: close conn when server OnRequest panic
Docs
- [#243] docs: rm outdated info
v0.4.1
v0.4.0
Feature:
- [#249] feat: add Detach function to support detach connection from its poller
Optimize:
- [#250] optimize: WriteDirect implementation to avoid panic and duplicate creation of redundant LinkBufferNode when remainLen is 0
Bugfix:
- [#256] fix: close the poll that has already been created when calling the openPoll fails
- [#251] fix: err to e0
- [#226] fix: poller read all data before connection close
- [#237] fix: shard queue state closed mistake
- [#189] fix: close connection when readv syscall return 0, nil
Refactor
- [#233] refactor: simplify race and norace event loop