boostorg / boostorg/beast

http::parser should be reusable

Open
#1,681 0 comments 4 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.