mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 07:03:37 +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