Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

fix: TCP connections leaking after RTC disconnects#397

Merged
kylecarbs merged 8 commits intomasterfromleakyconn
Jul 26, 2021
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
Fix race
  • Loading branch information
@kylecarbs
kylecarbs committedJul 26, 2021
commitcd3e6a09c53f0163cd0f29e2edc97c5cf0792a8e
2 changes: 2 additions & 0 deletionswsnet/conn.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -129,6 +129,8 @@ type dataChannelConn struct {
}

func (c *dataChannelConn) init() {
c.closedMutex.Lock()
defer c.closedMutex.Unlock()
c.sendMore = make(chan struct{}, 1)
c.dc.SetBufferedAmountLowThreshold(bufferedAmountLowThreshold)
c.dc.OnBufferedAmountLow(func() {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp