mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
log STREAM frames in long header packets (#3922)
This commit is contained in:
parent
efc252ff56
commit
f3875147b9
1 changed files with 6 additions and 0 deletions
|
@ -2078,6 +2078,9 @@ func (s *connection) logLongHeaderPacket(p *longHeaderPacket) {
|
||||||
for _, frame := range p.frames {
|
for _, frame := range p.frames {
|
||||||
wire.LogFrame(s.logger, frame.Frame, true)
|
wire.LogFrame(s.logger, frame.Frame, true)
|
||||||
}
|
}
|
||||||
|
for _, frame := range p.streamFrames {
|
||||||
|
wire.LogFrame(s.logger, frame.Frame, true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// tracing
|
// tracing
|
||||||
|
@ -2086,6 +2089,9 @@ func (s *connection) logLongHeaderPacket(p *longHeaderPacket) {
|
||||||
for _, f := range p.frames {
|
for _, f := range p.frames {
|
||||||
frames = append(frames, logutils.ConvertFrame(f.Frame))
|
frames = append(frames, logutils.ConvertFrame(f.Frame))
|
||||||
}
|
}
|
||||||
|
for _, f := range p.streamFrames {
|
||||||
|
frames = append(frames, logutils.ConvertFrame(f.Frame))
|
||||||
|
}
|
||||||
var ack *logging.AckFrame
|
var ack *logging.AckFrame
|
||||||
if p.ack != nil {
|
if p.ack != nil {
|
||||||
ack = logutils.ConvertAckFrame(p.ack)
|
ack = logutils.ConvertAckFrame(p.ack)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue