mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Merge branch 'master' of ssh://github.com/valenok/mongoose
This commit is contained in:
commit
0c5d9a98c2
2 files changed
+3
No files matched your search
@@ -2409,6 +2409,8 @@ static int parse_http_message(char *buf, int len, struct mg_connection *ri) {
|
||||
} else {
|
||||
if (is_request) {
|
||||
ri->http_version += 5;
|
||||
} else {
|
||||
ri->status_code = atoi(ri->uri);
|
||||
}
|
||||
parse_http_headers(&buf, ri);
|
||||
|
||||
|
||||
Reference in new issue
Block a user