Releases: cloudwego/netpoll
Releases · cloudwego/netpoll
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
v0.3.2
v0.3.1
v0.3.0
v0.2.6
v0.2.5
Bugfix:
- fix: barrier memory leak (#158)
- fix: pollDesc need unused op when detach (#169)
- fix: flush wrap raw errno to exception (#168)
- fix: op.detach will data race when calling onClose (#166)
- fix: SetOnRequest need trigger OnRequest if there is already input data (#165)
Chore:
- test: add test case for LinkBuffer.resetTail (#161)
Doc:
- doc: public hertz in readme (#164)