Revert "fdtrack: temporary hack for tracking file descriptor usage"

This reverts commit 5c949d3b3b.
This commit is contained in:
Jeffrey Wilcke
2015-08-19 21:46:01 +02:00
parent 382d35bf40
commit 269c5c7107
15 changed files with 7 additions and 314 deletions

View File

@ -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)