Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
af8daf91
Unverified
Commit
af8daf91
authored
Dec 10, 2018
by
Péter Szilágyi
Committed by
GitHub
Dec 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
node, rpc: log cleanups in ipc listener function (#18124)
node,rpc: remove unused log in ipc listener function
parents
fd66af5e
3dba6a6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
node.go
node/node.go
+1
-1
ipc.go
rpc/ipc.go
+2
-2
No files found.
node/node.go
View file @
af8daf91
...
...
@@ -322,7 +322,7 @@ func (n *Node) stopIPC() {
n
.
ipcListener
.
Close
()
n
.
ipcListener
=
nil
n
.
log
.
Info
(
"IPC endpoint closed"
,
"
endpoint
"
,
n
.
ipcEndpoint
)
n
.
log
.
Info
(
"IPC endpoint closed"
,
"
url
"
,
n
.
ipcEndpoint
)
}
if
n
.
ipcHandler
!=
nil
{
n
.
ipcHandler
.
Stop
()
...
...
rpc/ipc.go
View file @
af8daf91
...
...
@@ -29,12 +29,12 @@ func (srv *Server) ServeListener(l net.Listener) error {
for
{
conn
,
err
:=
l
.
Accept
()
if
netutil
.
IsTemporaryError
(
err
)
{
log
.
Warn
(
"
R
PC accept error"
,
"err"
,
err
)
log
.
Warn
(
"
I
PC accept error"
,
"err"
,
err
)
continue
}
else
if
err
!=
nil
{
return
err
}
log
.
Trace
(
"
Accepted connection"
,
"addr"
,
conn
.
RemoteAddr
()
)
log
.
Trace
(
"
IPC accepted connection"
)
go
srv
.
ServeCodec
(
NewJSONCodec
(
conn
),
OptionMethodInvocation
|
OptionSubscriptions
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment