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