Merge pull request #1976 from lucas-clemente/fix-retry-logging

fix logging of Retries
This commit is contained in:
Marten Seemann
2019-06-30 17:40:31 +07:00
committed by GitHub

View File

@@ -497,7 +497,8 @@ func (s *server) sendRetry(remoteAddr net.Addr, hdr *wire.Header) error {
replyHdr.DestConnectionID = hdr.SrcConnectionID
replyHdr.OrigDestConnectionID = hdr.DestConnectionID
replyHdr.Token = token
s.logger.Debugf("Changing connection ID to %s.\n-> Sending Retry", connID)
s.logger.Debugf("Changing connection ID to %s.", connID)
s.logger.Debugf("-> Sending Retry")
replyHdr.Log(s.logger)
buf := &bytes.Buffer{}
if err := replyHdr.Write(buf, hdr.Version); err != nil {