1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Merge pull request #2590 from calvinxiao/reduce-http-parser-size

[changelog skip] Reduce puma_parser struct padding
This commit is contained in:
Evan Phoenix 2021-04-05 11:00:41 -07:00 committed by GitHub
commit 9eaa5b9cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,8 +29,8 @@ typedef void (*field_cb)(struct puma_parser* hp,
typedef struct puma_parser {
int cs;
size_t body_start;
int content_len;
size_t body_start;
size_t nread;
size_t mark;
size_t field_start;