forked from quic-go/quic-go
http3: add the qlog event schema to trace header (#5383)
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/quic-go/quic-go"
|
||||
h3qlog "github.com/quic-go/quic-go/http3/qlog"
|
||||
"github.com/quic-go/quic-go/internal/utils"
|
||||
"github.com/quic-go/quic-go/qlog"
|
||||
"github.com/quic-go/quic-go/qlogwriter"
|
||||
@@ -50,7 +51,7 @@ func NewQLOGConnectionTracer(_ context.Context, isClient bool, connID quic.Conne
|
||||
utils.NewBufferedWriteCloser(bufio.NewWriter(f), f),
|
||||
isClient,
|
||||
connID,
|
||||
[]string{qlog.EventSchema},
|
||||
[]string{qlog.EventSchema, h3qlog.EventSchema},
|
||||
)
|
||||
go fileSeq.Run()
|
||||
return fileSeq
|
||||
|
||||
Reference in New Issue
Block a user