From e07721851f60f667213694ae46238f93fdd88d18 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 01:19:00 +0100 Subject: [PATCH 1/5] chore(deps): update actions/setup-node action to v3 (#414) Co-authored-by: Renovate Bot --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 822d21cc..122667ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - '14' steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - run: npm install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6098b8e6..4920ce1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 14 - name: Cache From aa2dc81dc3517b42c7bf66f829a019b3fa647358 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 01:19:58 +0100 Subject: [PATCH 2/5] chore(deps): update actions/stale action to v5 (#416) Co-authored-by: Renovate Bot --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 72597d8e..546af60a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -12,7 +12,7 @@ jobs: pull-requests: write steps: - - uses: actions/stale@v4 + - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?' From 330301ab00a51110f435fa1b4b707d6219e6d8d1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 01:23:16 +0100 Subject: [PATCH 3/5] chore(deps): update actions/checkout action to v3 (#415) Co-authored-by: Renovate Bot --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 122667ca..64f6689e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: node: - '14' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4920ce1c..d7bf1e60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false - name: Setup Node.js From f7928cfcc646cd95556549b64e61228892314682 Mon Sep 17 00:00:00 2001 From: Lookis Date: Fri, 25 Mar 2022 16:43:36 +0800 Subject: [PATCH 4/5] fix: connection leaks (#420) --- lib/client/websocket-tracker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/client/websocket-tracker.js b/lib/client/websocket-tracker.js index 1573cfd2..7c48858b 100644 --- a/lib/client/websocket-tracker.js +++ b/lib/client/websocket-tracker.js @@ -301,6 +301,7 @@ class WebSocketTracker extends Tracker { clearTimeout(peer.trackerTimeout) peer.trackerTimeout = null delete this.peers[offerId] + peer.destroy() } else { debug(`got unexpected answer: ${JSON.stringify(data.answer)}`) } From 2a79101ef73e7e5d94a48544a009a3ea2458c63b Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 25 Mar 2022 08:44:32 +0000 Subject: [PATCH 5/5] chore(release): 9.18.5 ## [9.18.5](https://github.com/webtorrent/bittorrent-tracker/compare/v9.18.4...v9.18.5) (2022-03-25) ### Bug Fixes * connection leaks ([#420](https://github.com/webtorrent/bittorrent-tracker/issues/420)) ([f7928cf](https://github.com/webtorrent/bittorrent-tracker/commit/f7928cfcc646cd95556549b64e61228892314682)) --- AUTHORS.md | 1 + CHANGELOG.md | 7 +++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index dd2a8b05..ccffe922 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -59,5 +59,6 @@ - Jocelyn Liu (yrliou@gmail.com) - Bruce Hopkins (behopkinsjr@gmail.com) - Ryan Finnie (ryan@finnie.org) +- Lookis (lookisliu@gmail.com) #### Generated by tools/update-authors.sh. diff --git a/CHANGELOG.md b/CHANGELOG.md index ff662d03..a7dc4711 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [9.18.5](https://github.com/webtorrent/bittorrent-tracker/compare/v9.18.4...v9.18.5) (2022-03-25) + + +### Bug Fixes + +* connection leaks ([#420](https://github.com/webtorrent/bittorrent-tracker/issues/420)) ([f7928cf](https://github.com/webtorrent/bittorrent-tracker/commit/f7928cfcc646cd95556549b64e61228892314682)) + ## [9.18.4](https://github.com/webtorrent/bittorrent-tracker/compare/v9.18.3...v9.18.4) (2022-03-06) diff --git a/package.json b/package.json index 1d901988..8c654dda 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bittorrent-tracker", "description": "Simple, robust, BitTorrent tracker (client & server) implementation", - "version": "9.18.4", + "version": "9.18.5", "author": { "name": "WebTorrent LLC", "email": "feross@webtorrent.io",