mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
Fix some http-parser bugs; clean up dill.
This commit is contained in:
parent
840679e731
commit
66c4e463e9
@ -410,8 +410,9 @@ int http_message_needs_eof(http_parser *parser);
|
||||
static enum state
|
||||
parse_url_char(enum state s, const char ch, int is_connect)
|
||||
{
|
||||
assert(!isspace(ch));
|
||||
|
||||
if ( isspace(ch) ) {
|
||||
return s_dead;
|
||||
}
|
||||
switch (s) {
|
||||
case s_req_spaces_before_url:
|
||||
if (ch == '/' || ch == '*') {
|
||||
|
Loading…
Reference in New Issue
Block a user