Merge pull request #421 from mpromonet/master

transmit http answer code using http_client
This commit is contained in:
Sergey Lyubka committed 2014-10-14 11:10:03 +01:00
commit 6193b5171c
2 files changed
+3

No files matched your search

+2
View File
@@ -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);