forked from boostorg/beast
Tidy up chunk decorator (API Change):
* Rename to no_chunk_decorator * Decorator no longer has to append "\r\n" to the returned string
This commit is contained in:
1 parent
38e9b16f75
commit
2141fabcf9
9 files changed
+49
-43
No files matched your search
@@ -356,12 +356,12 @@ class write_msg_op
|
||||
{
|
||||
Stream& s;
|
||||
serializer<isRequest, Body, Fields,
|
||||
empty_decorator, handler_alloc<char, Handler>> sr;
|
||||
no_chunk_decorator, handler_alloc<char, Handler>> sr;
|
||||
|
||||
data(Handler& h, Stream& s_, message<
|
||||
isRequest, Body, Fields> const& m_)
|
||||
: s(s_)
|
||||
, sr(m_, empty_decorator{},
|
||||
, sr(m_, no_chunk_decorator{},
|
||||
handler_alloc<char, Handler>{h})
|
||||
{
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user