http::parser should be reusable
Open
Design
- Dominant language
- C++
- Stars
- 4.8k
- Forks
- 694
- Avg merge
- 12h 48m
- Merged PRs (30d)
- 1
Description
It should not be necessary to construct a new parser for each message. However this raises design questions. What if the contained message is not movable or requires parameters to construct? A solution is to support move-assignment, and allow move-construction if the message is move constructible. However, the Writer has to also be movable and that's a problem for some body types.
Contributor guide
Assessment
This issue has not been assessed yet.