Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
b2291430
Commit
b2291430
authored
Apr 13, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send open_stream_msg with proper sender handle
parent
9d4614f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
libcaf_core/src/stream_manager.cpp
libcaf_core/src/stream_manager.cpp
+9
-6
No files found.
libcaf_core/src/stream_manager.cpp
View file @
b2291430
...
...
@@ -198,7 +198,8 @@ int32_t stream_manager::acquire_credit(inbound_path*, int32_t desired) {
return
desired
;
}
stream_slot
stream_manager
::
add_unchecked_outbound_path_impl
(
response_promise
&
rp
,
stream_slot
stream_manager
::
add_unchecked_outbound_path_impl
(
response_promise
&
rp
,
message
handshake
)
{
CAF_LOG_TRACE
(
CAF_ARG
(
rp
)
<<
CAF_ARG
(
handshake
));
CAF_ASSERT
(
out
().
terminal
()
==
false
);
...
...
@@ -217,14 +218,16 @@ stream_slot stream_manager::add_unchecked_outbound_path_impl(response_promise& r
return
slot
;
}
stream_slot
stream_manager
::
add_unchecked_outbound_path_impl
(
strong_actor_ptr
next
,
stream_slot
stream_manager
::
add_unchecked_outbound_path_impl
(
strong_actor_ptr
next
,
message
handshake
)
{
CAF_LOG_TRACE
(
CAF_ARG
(
next
)
<<
CAF_ARG
(
handshake
));
response_promise
rp
{
self_
->
ctrl
(),
nullptr
,
{
next
},
make_message_id
()};
response_promise
rp
{
self_
->
ctrl
(),
self_
->
ctrl
()
,
{
next
},
make_message_id
()};
return
add_unchecked_outbound_path_impl
(
rp
,
std
::
move
(
handshake
));
}
stream_slot
stream_manager
::
add_unchecked_outbound_path_impl
(
message
handshake
)
{
stream_slot
stream_manager
::
add_unchecked_outbound_path_impl
(
message
handshake
)
{
CAF_LOG_TRACE
(
CAF_ARG
(
handshake
));
auto
rp
=
self_
->
make_response_promise
();
return
add_unchecked_outbound_path_impl
(
rp
,
std
::
move
(
handshake
));
...
...
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