generated from ipfs/ipfs-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
routing/http: fix goroutine/memory leak
I've noticed some memory and goroutine buildup, linked to that function. It seems like when the context get cancelled, the consumer could be gone, but that function would still attempt to write in the channel and block forever.
- Loading branch information
1 parent
625ba76
commit 435d838
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters