http-parser
http-parser copied to clipboard
Fix sizeof(http_parser) assert on i386
The struct size is actually 28 bytes because the void* field is 4 bytes shorter. As the people on the original bug explained, x86 has lower alignment requirements than other arches, so the struct is not padded. However, this does not mean you can ignore the void* size difference.