Improved HTTP response code handling

This commit is contained in:
Luca Deri
2019-01-23 00:53:56 +01:00
parent efa96da3e0
commit e2ffcd7229
3 changed files with 32 additions and 10 deletions
+1 -1
View File
@@ -1071,7 +1071,7 @@ struct ndpi_flow_struct {
char *url, *content_type;
u_int8_t num_request_headers, num_response_headers;
u_int8_t request_version; /* 0=1.0 and 1=1.1. Create an enum for this? */
u_char response_status_code[5]; /* 200, 404, etc. */
u_int16_t response_status_code; /* 200, 404, etc. */
} http;
union {