mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::http: Remove the write_closure from the request parse object.
This commit is contained in:
parent
f37311a3f1
commit
40d6b6055b
3 changed files with 1 additions and 3 deletions
|
@ -268,7 +268,6 @@ struct ircd::http::request
|
|||
|
||||
request(parse::capstan &,
|
||||
content *const & = nullptr,
|
||||
const write_closure & = nullptr,
|
||||
const proffer & = nullptr,
|
||||
const headers::closure & = {});
|
||||
};
|
||||
|
|
|
@ -379,7 +379,7 @@ try
|
|||
bool ret{true};
|
||||
http::request
|
||||
{
|
||||
pc, nullptr, write_closure(client), [&client, &pc, &ret]
|
||||
pc, nullptr, [&client, &pc, &ret]
|
||||
(const auto &head)
|
||||
{
|
||||
handle_request(client, pc, head);
|
||||
|
|
|
@ -267,7 +267,6 @@ ircd::http::printed_size(const vector_view<const line::header> &headers)
|
|||
|
||||
ircd::http::request::request(parse::capstan &pc,
|
||||
content *const &c,
|
||||
const write_closure &write_closure,
|
||||
const proffer &proffer,
|
||||
const headers::closure &headers_closure)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue