Skip to content

Releases: cloudwego/netpoll

v0.6.3

25 Jul 07:19
3bd1fe2
Compare
Choose a tag to compare
Merge pull request #352 from cloudwego/release-v0.6.3

chore: release v0.6.3

v0.6.2

21 Jun 13:45
fa3c9e0
Compare
Choose a tag to compare

Hotfix

  1. [#342] fix: disable nocopy read and add cap restraint

v0.6.1

12 Jun 03:05
2f8043a
Compare
Choose a tag to compare

Feature

  1. [#313] feat: allow GetBytes to get all bytes

Fix

  1. [#335] fix: Peek OOM and performance issue
  2. [#332] fix: return a correct error when failed to access concurrent connections
  3. [#327] fix: _typos.toml and some typos
  4. [#311] fix: delay accept new connections if out of fds

Chore

  1. [#337] chore: add memory-leak test for cross nodes peek
  2. [#336] chore: use 127.0.0.1 and unique port for all test listener
  3. [#329] chore: replace external dns server to private tcp server
  4. [#321] perf: use dirtmake to reduce memclr cost
  5. [#315] perf: nocopy read for ReadString and ReadBinary API if possible

v0.6.0

04 Mar 07:35
8c8b872
Compare
Choose a tag to compare

Feature

  1. [#306] feat: lazy init pollers to avoid create any poller goroutines if netpoll is not used
  2. [#303] feat: add WithOnDisconnect callback
  3. [#300] feat: netpoll exception implement net.Error interface
  4. [#294] feat: add SetRunner option

Fix

  1. [#307] fix: ctx race when disconnect callback run with connect callback
  2. [#304] fix: connection leak when poller close connection but onRequest callback just finished
  3. [#296] fix: stop timer when read triggered by err

Chore

  1. [#302] ci: bump the version of actions/checkout and actions/setup-go

v0.5.1

18 Oct 09:23
4b0bb96
Compare
Choose a tag to compare

Fix

  1. [#289] fix: panic/fault when dial connection timeout

Optimise

  1. [#290] optimise: rm useless inputBarrier

v0.5.0

26 Sep 09:41
0faba6e
Compare
Choose a tag to compare

Optimize

  1. [#274] optimize: increase first bookSize to 8KB to reudce overhead for connection read at begin
  2. [#273] optimize: ignore EOF when read a closed connection

Fix

  1. [#283] fix: protect operator dont be detach twice
  2. [#280] fix: detach operator race
  3. [#278] fix: OnRequest should wait all readable data consumed when sender close connection
  4. [#276] fix: compile error
  5. [#238] fix: close conn when server OnRequest panic

Docs

  1. [#243] docs: rm outdated info

v0.4.1

28 Jun 08:02
e19afcc
Compare
Choose a tag to compare

Refactor

  • [#269] refactor: simplify func iovecs

Chore

  • [#262] chore: support windows build

v0.4.0

13 Jun 11:30
a8756d2
Compare
Choose a tag to compare

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

21 Dec 03:11
Compare
Choose a tag to compare

Feature:

  • feat(mux): shared queue add Close interface [#218]

Chore:

  • chore: add epoll tests [#221]
  • chore: add logger [#222]

Bugfix:

  • fix: check nil in isSingleNode func [#215]
  • fix: free operator in poller [#223]

v0.3.1

09 Nov 03:48
cc79ea3
Compare
Choose a tag to compare

Bugfix:

  • fix: avoid bookAck panic when readv return EINTR(#212)

Chore:

  • chore: fixed skywalking-eyes version(#211)