()
| 338 | } |
| 339 | |
| 340 | func (h2f *Framer) maxHeaderListSize() uint32 { |
| 341 | if h2f.MaxHeaderListSize == 0 { |
| 342 | return 16 << 20 // sane default, per docs |
| 343 | } |
| 344 | return h2f.MaxHeaderListSize |
| 345 | } |
| 346 | |
| 347 | func (h2f *Framer) startWrite(ftype FrameType, flags Flags, streamID uint32) { |
| 348 | // Write the FrameHeader. |
no outgoing calls
no test coverage detected