projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e2332
)
Fix leaked conntrack.EntryHandle
v1.1.2
author
Matt Joiner <anacrolix@gmail.com>
Thu, 28 Mar 2019 21:48:56 +0000 (08:48 +1100)
committer
Matt Joiner <anacrolix@gmail.com>
Thu, 28 Mar 2019 21:48:56 +0000 (08:48 +1100)
client.go
patch
|
blob
|
history
diff --git
a/client.go
b/client.go
index ba6599fa930b533cce75889363c499a074c85508..f8d70372b93fa4133ecda1f9a3ab4018c191759c 100644
(file)
--- a/
client.go
+++ b/
client.go
@@
-522,6
+522,7
@@
func (cl *Client) dialFirst(ctx context.Context, addr string) dialResult {
0,
)
if ctx.Err() != nil {
+ cte.Forget()
resCh <- dialResult{}
return
}