Netpoll Versions Save

A high-performance non-blocking I/O networking framework focusing on RPC scenarios.

v0.6.0

1 month ago

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

6 months ago

Fix

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

Optimise

  1. [#290] optimise: rm useless inputBarrier

v0.5.0

6 months ago

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

9 months ago

Refactor

  • [#269] refactor: simplify func iovecs

Chore

  • [#262] chore: support windows build

v0.4.0

10 months ago

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

1 year ago

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

1 year ago

Bugfix:

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

Chore:

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

v0.3.0

1 year ago

Feature:

  • feat: support dial in IPV6 only (#182)
  • feat: connection flush support write timeout (#206)

Bugfix:

  • fix: LinkBuffer length overflow (#179)
  • fix: don't check epoll out when epoll err (#183)
  • fix: limit iovecs max to 2GB(2^31) (#196)
  • fix: fd not detach when close by user (#200)

v0.2.6

1 year ago

Refactor:

  • refactor: netpoll can be imported by other components under Windows and compiled without error (#178)

Bugfix:

  • fix: cliconn check inputbuffer when close (#154)
  • fix: pollDesc.operator.OnWrite fatal address (#184)

v0.2.5

1 year ago

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)