()
| 1547 | } |
| 1548 | |
| 1549 | func (fr *Framer) maxHeaderStringLen() int { |
| 1550 | v := int(fr.maxHeaderListSize()) |
| 1551 | if v < 0 { |
| 1552 | // If maxHeaderListSize overflows an int, use no limit (0). |
| 1553 | return 0 |
| 1554 | } |
| 1555 | return v |
| 1556 | } |
| 1557 | |
| 1558 | // readMetaFrame returns 0 or more CONTINUATION frames from fr and |
| 1559 | // merge them into the provided hf and returns a MetaHeadersFrame |
no test coverage detected