Skip to content

Commit

Permalink
quic: don't send detailed error messages when closing connections (#2112
Browse files Browse the repository at this point in the history
)
  • Loading branch information
marten-seemann authored Feb 17, 2023
1 parent 9f12163 commit d686dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/transport/quic/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (l *listener) setupConn(qconn quic.Connection) (*conn, error) {
c, err := l.setupConnWithScope(qconn, connScope, remoteMultiaddr)
if err != nil {
connScope.Done()
qconn.CloseWithError(1, err.Error())
qconn.CloseWithError(1, "")
return nil, err
}

Expand Down

0 comments on commit d686dbc

Please sign in to comment.