Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
a45e4bb7
Unverified
Commit
a45e4bb7
authored
Feb 02, 2018
by
Luca Boccassi
Committed by
GitHub
Feb 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2909 from eponsko/master
Problem: ZMQ_DISH triggers assert when hitting the watermark(?)
parents
390d79e0
542fe67f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
dish.cpp
src/dish.cpp
+7
-2
No files found.
src/dish.cpp
View file @
a45e4bb7
...
@@ -285,14 +285,19 @@ int zmq::dish_session_t::push_msg (msg_t *msg_)
...
@@ -285,14 +285,19 @@ int zmq::dish_session_t::push_msg (msg_t *msg_)
return
0
;
return
0
;
}
}
else
{
else
{
const
char
*
group_setting
=
msg_
->
group
();
int
rc
;
if
(
group_setting
[
0
]
!=
0
)
goto
has_group
;
// Set the message group
// Set the message group
int
rc
=
msg_
->
set_group
((
char
*
)
group_msg
.
data
(),
group_msg
.
size
());
rc
=
msg_
->
set_group
((
char
*
)
group_msg
.
data
(),
group_msg
.
size
());
errno_assert
(
rc
==
0
);
errno_assert
(
rc
==
0
);
// We set the group, so we don't need the group_msg anymore
// We set the group, so we don't need the group_msg anymore
rc
=
group_msg
.
close
();
rc
=
group_msg
.
close
();
errno_assert
(
rc
==
0
);
errno_assert
(
rc
==
0
);
has_group
:
// Thread safe socket doesn't support multipart messages
// Thread safe socket doesn't support multipart messages
if
((
msg_
->
flags
()
&
msg_t
::
more
)
==
msg_t
::
more
)
{
if
((
msg_
->
flags
()
&
msg_t
::
more
)
==
msg_t
::
more
)
{
errno
=
EFAULT
;
errno
=
EFAULT
;
...
...
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