MCPcopy Create free account
hub / github.com/imroc/req / DebugData

Method DebugData

internal/http2/frame.go:952–955  ·  view source on GitHub ↗

DebugData returns any debug data in the GOAWAY frame. Its contents are not defined. The caller must not retain the returned memory past the next call to ReadFrame.

()

Source from the content-addressed store, hash-verified

950// The caller must not retain the returned memory past the next
951// call to ReadFrame.
952func (f *GoAwayFrame) DebugData() []byte {
953 f.checkValid()
954 return f.debugData
955}
956
957func parseGoAwayFrame(_ *frameCache, fh FrameHeader, countError func(string), p []byte) (Frame, error) {
958 if fh.StreamID != 0 {

Callers 2

setGoAwayMethod · 0.80

Calls 1

checkValidMethod · 0.80

Tested by 1