This commit is contained in:
Andrew Kistler 2022-12-05 21:38:41 +08:00 committed by GitHub
commit fd7365cbc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -512,10 +512,10 @@ http_parse_host(const char * buf, struct http_parser_url *u, int found_at) {
case s_http_host_v6:
case s_http_host_v6_zone_start:
case s_http_host_v6_zone:
case s_http_host_port_start:
case s_http_userinfo:
case s_http_userinfo_start:
return 1;
case s_http_host_port_start: /* Valid to have a blank port. see RFC3986 section 3.2.3 */
default:
break;
}