Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Paquet committed Jul 24, 2012
1 parent 50faa79 commit a828eda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http_parser.c
Expand Up @@ -2121,6 +2121,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
}

/* host must be present if there is a schema */
/* parsing http:///toto will fail */
if ((u->field_set & ((1 << UF_SCHEMA) | (1 << UF_HOST))) != 0) {
if (http_parse_host(buf, u, found_at) != 0) {
return 1;
Expand Down

0 comments on commit a828eda

Please sign in to comment.