aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/dial.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-20 03:46:01 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-20 03:46:01 +0800
commit269c5c71072f9e17e6387f853d626bff1160db5c (patch)
tree3a4b1cca074e10495fa1b8f5611a40ad1fba69e8 /p2p/dial.go
parent382d35bf403ab5dd9b0d2fe3a87c3960902d6e57 (diff)
downloaddexon-269c5c71072f9e17e6387f853d626bff1160db5c.tar
dexon-269c5c71072f9e17e6387f853d626bff1160db5c.tar.gz
dexon-269c5c71072f9e17e6387f853d626bff1160db5c.tar.bz2
dexon-269c5c71072f9e17e6387f853d626bff1160db5c.tar.lz
dexon-269c5c71072f9e17e6387f853d626bff1160db5c.tar.xz
dexon-269c5c71072f9e17e6387f853d626bff1160db5c.tar.zst
dexon-269c5c71072f9e17e6387f853d626bff1160db5c.zip
Revert "fdtrack: temporary hack for tracking file descriptor usage"
This reverts commit 5c949d3b3ba81ea0563575b19a7b148aeac4bf61.
Diffstat (limited to 'p2p/dial.go')
-rw-r--r--p2p/dial.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/p2p/dial.go b/p2p/dial.go
index 8b210bacd..0fd3a4cf5 100644
--- a/p2p/dial.go
+++ b/p2p/dial.go
@@ -23,7 +23,6 @@ import (
"net"
"time"
- "github.com/ethereum/go-ethereum/fdtrack"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/p2p/discover"
@@ -213,7 +212,6 @@ func (t *dialTask) Do(srv *Server) {
glog.V(logger.Detail).Infof("dial error: %v", err)
return
}
- fd = fdtrack.WrapConn("p2p", fd)
mfd := newMeteredConn(fd, false)
srv.setupConn(mfd, t.flags, t.dest)