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:
Vinnie Falco committed 2017-07-20 08:12:18 -07:00
1 parent 38e9b16f75
commit 2141fabcf9
9 files changed
+49 -43

No files matched your search

+2 -2
View File
@@ -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})
{
}