mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 14:22:28 +00:00
parent
7abca1531f
commit
83abd68029
6 changed files with 59 additions and 26 deletions
|
@ -87,6 +87,8 @@ int ParseHttpRequest(struct HttpRequest *r, const char *p, size_t n) {
|
|||
return ebadmsg();
|
||||
}
|
||||
break;
|
||||
} else if (!('A' <= c && c <= 'Z')) {
|
||||
return ebadmsg();
|
||||
}
|
||||
if (++r->i == n) break;
|
||||
c = p[r->i] & 0xff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue