Allow more than 16 headers #4

Merged
FliegendeWurst merged 1 commit from patch-1 into master 2017-01-12 08:37:48 +13:00
FliegendeWurst commented 2017-01-05 08:13:12 +13:00 (Migrated from github.com)

Ideally this should be solved more elegantly (just using a Vec does not seem to work..)

Ideally this should be solved more elegantly (just using a Vec does not seem to work..)
mikedilger commented 2017-01-12 08:37:50 +13:00 (Migrated from github.com)

Thanks. Yeah, httparse expects pre-allocated memory, but we don't know how many headers there are. No real good options without upstream changes. 64 seems fine, if you found 16 to be too few.

Thanks. Yeah, httparse expects pre-allocated memory, but we don't know how many headers there are. No real good options without upstream changes. 64 seems fine, if you found 16 to be too few.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mikedilger/mime-multipart!4
No description provided.