coder / websocket

Minimal and idiomatic WebSocket library for Go
ISC License
3.81k stars 286 forks source link

build(deps): bump github.com/lesismal/nbio from 1.3.18 to 1.5.10 in /internal/thirdparty #484

Open dependabot[bot] opened 1 week ago

dependabot[bot] commented 1 week ago

Bumps github.com/lesismal/nbio from 1.3.18 to 1.5.10.

Release notes

Sourced from github.com/lesismal/nbio's releases.

v1.5.10

  1. http: add Engine.OnRequest
  2. epoll: optimize epoll et events
  3. websocket: fix send queue buffer release
  4. websocket: fix callback for nil close message
  5. engine: fix default max write buffer size value setting

v1.5.9

  1. opt err handling and log for addConn
  2. 4th layer: simplify conn flush logic
  3. 4th layer: support DialAsync/DialAsyncTimeout
  4. websocket: fix dialer onclose callback trigger
  5. websocket: limit decompressor buffer size

v1.5.8

  1. http: fix body reader append logic
  2. websocket: don't call OnClose when ws conn is fast closed before the upgrade succeeds

v1.5.7

  1. websocket: fix writeFrame order in concurrent WriteMessage operation.

v1.5.6

websocket: operate conn.message with lock to avoid concurrent problems.

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 :

  1. websocket: fix bug for body length parsing.
  2. kqueue: opt write event.

v1.5.4

Socket

  1. epoll/kqueue: clear fd from poller automatically by syscall.Close.
  2. Add flow control for write cache flush to avoid large buffer write failure.
  3. Optimize write cache: use [][]byte to avoid the single large buffer usage.

HTTP:

  1. Change body to [][]byte to avoid single large buffer usage.
  2. Optimize body calculation.
  3. Add MaxHTTPBodySize config.
  4. add Client.Dial configuration.
  5. add Engine.SetETAsyncRead/SetLTSyncRead.

Websocket

  1. Add Lock for parsing logic.
  2. Optimize session consistency.

... (truncated)

Commits
  • d2b0199 websocket: fix send queue buffer release
  • 428f1a7 http: add Engine.OnRequest
  • a7eb6fb websocket: fix protocol message handling
  • ebb0bdb websocket: fix callback for nil close message
  • 882d08e fix workflow env error
  • 0f3b986 try workflow
  • 2440a95 update go version for workflows/build_bsd.yml
  • df30d0d opt epoll et events
  • e02c35f websocket: fix message type parsing logic
  • a679c63 epoll: ET without ONESHOT add events once only
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)