Revert "fdtrack: temporary hack for tracking file descriptor usage"
This reverts commit 5c949d3b3b
.
This commit is contained in:
@ -29,7 +29,6 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
|
||||
"github.com/ethereum/go-ethereum/fdtrack"
|
||||
"github.com/ethereum/go-ethereum/logger"
|
||||
"github.com/ethereum/go-ethereum/logger/glog"
|
||||
"github.com/ethereum/go-ethereum/rpc/codec"
|
||||
@ -178,7 +177,6 @@ func listenHTTP(addr string, h http.Handler) (*stopServer, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
l = fdtrack.WrapListener("rpc", l)
|
||||
s := &stopServer{l: l, idle: make(map[net.Conn]struct{})}
|
||||
s.Server = &http.Server{
|
||||
Addr: addr,
|
||||
|
Reference in New Issue
Block a user