Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

network/stream: terminate runUpdateSyncing on peer quit #1696

Merged
merged 1 commit into from
Aug 28, 2019

Conversation

janos
Copy link
Member

@janos janos commented Aug 28, 2019

This PR fixes a goroutine leak in stream package when runUpdateSyncing goroutine is not terminated when peer quits.

@janos janos requested review from zelig and acud August 28, 2019 09:07
@janos janos self-assigned this Aug 28, 2019
@skylenet skylenet self-requested a review August 28, 2019 09:13
@skylenet skylenet added this to the 0.5.0 milestone Aug 28, 2019
@acud acud merged commit e821eb4 into master Aug 28, 2019
@acud acud deleted the stream-fix-goroutine-leak branch August 28, 2019 09:23
chadsr added a commit to chadsr/swarm that referenced this pull request Sep 23, 2019
* 'master' of github.com:ethersphere/swarm:
  pss: Modularize crypto and remove Whisper. Step 1 - isolate whisper code (ethersphere#1698)
  pss: Improve pressure backstop queue handling - no mutex (ethersphere#1695)
  cmd/swarm-snapshot: if 2 nodes to create snapshot use connectChain (ethersphere#1709)
  network: Add API for Capabilities (ethersphere#1675)
  pss: fixed flaky test that was using a global variable instead of a local one (ethersphere#1702)
  pss: Port tests to `network/simulation` (ethersphere#1682)
  storage: fix hasherstore seen check to happen when error is nil (ethersphere#1700)
  vendor: upgrade go-ethereum to 1.9.2 (ethersphere#1689)
  bzzeth: initial support for bzz-eth protocol (ethersphere#1571)
  network/stream: terminate runUpdateSyncing on peer quit (ethersphere#1696)
  all: first working SWAP version (ethersphere#1554)
  version: update to v0.5.0 unstable (ethersphere#1694)
  chunk, storage: storage with multi chunk Set method (ethersphere#1684)
  chunk, storage: add HasMulti to chunk.Store (ethersphere#1686)
  chunk, shed, storage: chunk.Store GetMulti method (ethersphere#1691)
  api, chunk: progress bar support (ethersphere#1649)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants