Commit 8be1ab25 authored by Kenton Varda's avatar Kenton Varda

Actually fill in params to getSubstreamRequest().

parent 379a8444
......@@ -603,6 +603,8 @@ protected:
KJ_CASE_ONEOF(capnpStream, capnp::ByteStream::Client) {
auto params = context.getParams();
auto req = capnpStream.getSubstreamRequest(params.totalSize());
req.setCallback(params.getCallback());
req.setLimit(params.getLimit());
return context.tailCall(kj::mv(req));
}
KJ_CASE_ONEOF(b, Borrowed) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment