mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-30 12:50:58 +00:00
Avoid extra allocation for static HTTP handling
This commit is contained in:
1 parent
e710df4c80
commit
366426e8bb
4 files changed
+20
-44
No files matched your search
@@ -17,6 +17,7 @@ struct mg_http_message {
|
||||
struct mg_http_header headers[MG_MAX_HTTP_HEADERS]; // Headers
|
||||
struct mg_str body; // Body
|
||||
struct mg_str head; // Request + headers
|
||||
struct mg_str chunk; // Chunk for chunked encoding, or partial body
|
||||
struct mg_str message; // Request + headers + body
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user