Skip to content

Commit 95bb3e1

Browse files
committed
format
1 parent ba1a82a commit 95bb3e1

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

conn.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,6 @@ func (c *Conn) unmarshalHandshakeMessage(data []byte, transcript transcriptHash)
12521252
if transcript != nil {
12531253
transcript.Write(data)
12541254
}
1255-
12561255
return m, nil
12571256
}
12581257

record_detect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func DetectPostHandshakeRecordsLens(config *Config) {
6464
}()
6565
go func() {
6666
now := time.Now()
67-
target, err := net.Dial("tcp", config.Dest)
67+
target, err := net.Dial(config.Type, config.Dest)
6868
rtt := time.Since(now)
6969
if err != nil {
7070
return

tls.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ func Server(ctx context.Context, conn net.Conn, config *Config) (*Conn, error) {
425425
if maxUseless, ok := GlobalMaxCSSMsgCount.Load(key); ok {
426426
hs.c.MaxUselessRecords = maxUseless.(int)
427427
}
428-
429428
}
430429
hs.c.isHandshakeComplete.Store(true)
431430
break

0 commit comments

Comments
 (0)