mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
aquatic_http: parse_key_value_pairs_memchr: small code improvement
This commit is contained in:
parent
a8e355f22a
commit
ca8d278a03
7 changed files with 1011 additions and 1008 deletions
|
|
@ -175,10 +175,10 @@ impl Request {
|
|||
data.insert(key, value);
|
||||
}
|
||||
|
||||
position = segment_end + 1;
|
||||
|
||||
if position == query_string.len(){
|
||||
break;
|
||||
if segment_end == query_string.len(){
|
||||
break
|
||||
} else {
|
||||
position = segment_end + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue