Skip to content

Commit

Permalink
Merge pull request #168 from ipfs-force-community/fix/not-close-conne…
Browse files Browse the repository at this point in the history
…ction

fix: not close connection
  • Loading branch information
simlecode authored Apr 11, 2024
2 parents 541891a + 2e0590f commit d1f2ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewReverseServer(u *url.URL) http.Handler {
}
}()

signal := make(chan struct{})
signal := make(chan struct{}, 1)

go forwardMessages(signal, proxyConn, clientConn)
forwardMessages(signal, clientConn, proxyConn)
Expand Down

0 comments on commit d1f2ee1

Please sign in to comment.