Minor speed improvment

v0.10
Bertrand Paquet 13 years ago
parent 1d3a0ec752
commit 7f1b191d6f

@ -486,14 +486,14 @@ parse_url_char(enum state s, const char ch)
return s_req_query_string_start;
}
if (IS_USERINFO_CHAR(ch) || ch == '[' || ch == ']') {
return s_req_host;
}
if (ch == '@') {
return s_req_host_with_at;
}
if (IS_USERINFO_CHAR(ch) || ch == '[' || ch == ']') {
return s_req_host;
}
break;
case s_req_path:

Loading…
Cancel
Save