| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4b6c653 commit f99349d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1875,8 +1875,9 @@ Http2Stream::Http2Stream(Http2Session* session, | |||
| 1875 | 1875 | ||
| 1876 | 1876 | // Limit the number of header pairs | |
| 1877 | 1877 | max_header_pairs_ = session->GetMaxHeaderPairs(); | |
| 1878 | - if (max_header_pairs_ == 0) | ||
| 1879 | - max_header_pairs_ = DEFAULT_MAX_HEADER_LIST_PAIRS; | ||
| 1878 | + if (max_header_pairs_ == 0) { | ||
| 1879 | + max_header_pairs_ = DEFAULT_MAX_HEADER_LIST_PAIRS; | ||
| 1880 | + } | ||
| 1880 | 1881 | current_headers_.reserve(max_header_pairs_); | |
| 1881 | 1882 | ||
| 1882 | 1883 | // Limit the number of header octets | |
| Back | FazBrowse Home | New Git URL |
0 commit comments