Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
8be1ab25
Commit
8be1ab25
authored
Oct 22, 2019
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually fill in params to getSubstreamRequest().
parent
379a8444
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
byte-stream.c++
c++/src/capnp/compat/byte-stream.c++
+2
-0
No files found.
c++/src/capnp/compat/byte-stream.c++
View file @
8be1ab25
...
@@ -603,6 +603,8 @@ protected:
...
@@ -603,6 +603,8 @@ protected:
KJ_CASE_ONEOF
(
capnpStream
,
capnp
::
ByteStream
::
Client
)
{
KJ_CASE_ONEOF
(
capnpStream
,
capnp
::
ByteStream
::
Client
)
{
auto
params
=
context
.
getParams
();
auto
params
=
context
.
getParams
();
auto
req
=
capnpStream
.
getSubstreamRequest
(
params
.
totalSize
());
auto
req
=
capnpStream
.
getSubstreamRequest
(
params
.
totalSize
());
req
.
setCallback
(
params
.
getCallback
());
req
.
setLimit
(
params
.
getLimit
());
return
context
.
tailCall
(
kj
::
mv
(
req
));
return
context
.
tailCall
(
kj
::
mv
(
req
));
}
}
KJ_CASE_ONEOF
(
b
,
Borrowed
)
{
KJ_CASE_ONEOF
(
b
,
Borrowed
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment