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
84585a95
Commit
84585a95
authored
Nov 04, 2009
by
malosek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pgm_transport_recvmsgv in process_upstream returns PGM_IO_STATUS_RATE_LIMITED on busy sender
parent
c2cd7977
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pgm_socket.cpp
src/pgm_socket.cpp
+3
-2
No files found.
src/pgm_socket.cpp
View file @
84585a95
...
...
@@ -617,7 +617,7 @@ size_t zmq::pgm_socket_t::send (unsigned char *data_, size_t data_len_)
// We have to write all data as one packet.
if
(
nbytes
>
0
)
{
zmq_log
(
1
,
"data sent %i, %s(%i)
\n
"
,
(
int
)
nbytes
,
zmq_log
(
1
,
"data sent %i
B
, %s(%i)
\n
"
,
(
int
)
nbytes
,
__FILE__
,
__LINE__
);
zmq_assert
((
ssize_t
)
nbytes
==
(
ssize_t
)
data_len_
);
}
...
...
@@ -872,7 +872,8 @@ void zmq::pgm_socket_t::process_upstream (void)
(
int
)
status
,
(
int
)
dummy_bytes
,
__FILE__
,
__LINE__
);
// No data should be returned.
zmq_assert
(
dummy_bytes
==
0
&&
status
==
PGM_IO_STATUS_TIMER_PENDING
);
zmq_assert
(
dummy_bytes
==
0
&&
(
status
==
PGM_IO_STATUS_TIMER_PENDING
||
status
==
PGM_IO_STATUS_RATE_LIMITED
));
#endif
}
...
...
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