Skip to content

Commit

Permalink
define application protocols in tls.Config (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan authored Jul 4, 2023
1 parent 997f028 commit 5ec925a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quic.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func testQuic(ip string, config *ScanConfig, record *ScanRecord) bool {
tlsCfg := &tls.Config{
InsecureSkipVerify: true,
ServerName: serverName,
NextProtos: []string{"h3-29", "h3", "hq", "quic"},
}

ctx := context.TODO()
Expand Down

0 comments on commit 5ec925a

Please sign in to comment.