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
1d431190
Commit
1d431190
authored
Oct 02, 2010
by
Nir Soffer
Committed by
Martin Sustrik
Oct 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure that reader does not terminate in the middle of a multipart message
parent
2142b891
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
AUTHORS
AUTHORS
+1
-0
xrep.cpp
src/xrep.cpp
+7
-0
No files found.
AUTHORS
View file @
1d431190
...
...
@@ -30,6 +30,7 @@ Matus Hamorsky <mhamorsky@gmail.com>
Max Wolf <YIDIEPXGXGPN@spammotel.com>
McClain Looney <m@loonsoft.com>
Mikael Helbo Kjaer <mhk@designtech.dk>
Nir Soffer <nirsof@gmail.com>
Pavel Gushcha <pavimus@gmail.com>
Pavol Malosek <malosek@fastmq.com>
Pieter Hintjens <ph@imatix.com>
...
...
src/xrep.cpp
View file @
1d431190
...
...
@@ -101,6 +101,13 @@ void zmq::xrep_t::terminated (reader_t *pipe_)
for
(
inpipes_t
::
iterator
it
=
inpipes
.
begin
();
it
!=
inpipes
.
end
();
it
++
)
{
if
(
it
->
reader
==
pipe_
)
{
if
(
inpipes
[
current_in
].
reader
==
pipe_
)
{
// A reader is not allowed to terminate in the middle of a
// multipart message.
zmq_assert
(
!
prefetched
);
zmq_assert
(
!
more_in
);
}
inpipes
.
erase
(
it
);
if
(
terminating
)
unregister_term_ack
();
...
...
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