mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
Update comment
Co-authored-by: Kevin Guthrie <kevin.guthrie@gmail.com>
This commit is contained in:
parent
61a55ae3fa
commit
7da3e13d84
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ fn header_to_h1_wire(key_map: Option<&CaseMap>, value_map: &HMap, buf: &mut impl
|
||||||
let iter = key_map.iter().zip(value_map.iter());
|
let iter = key_map.iter().zip(value_map.iter());
|
||||||
for ((header, case_header), (header2, val)) in iter {
|
for ((header, case_header), (header2, val)) in iter {
|
||||||
if header != header2 {
|
if header != header2 {
|
||||||
// in case the header iteration order changes in newer versions of HMap
|
// in case the header iteration order changes in future versions of HMap
|
||||||
panic!("header iter mismatch {}, {}", header, header2)
|
panic!("header iter mismatch {}, {}", header, header2)
|
||||||
}
|
}
|
||||||
buf.put_slice(case_header.as_slice());
|
buf.put_slice(case_header.as_slice());
|
||||||
|
|
Loading…
Reference in a new issue