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
6bdedcbc
Commit
6bdedcbc
authored
May 20, 2014
by
Martin Hurton
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1049 from hintjens/master
Minor fixes
parents
a1fbd973
4b67919f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
zmq_proxy_steerable.txt
doc/zmq_proxy_steerable.txt
+1
-2
testutil.hpp
tests/testutil.hpp
+3
-2
No files found.
doc/zmq_proxy_steerable.txt
View file @
6bdedcbc
...
...
@@ -3,8 +3,7 @@ zmq_proxy_steerable(3)
NAME
----
zmq_proxy_steerable - start built-in 0MQ proxy with PAUSE/RESUME/TERMINATE
control flow
zmq_proxy_steerable - built-in 0MQ proxy with control flow
SYNOPSIS
...
...
tests/testutil.hpp
View file @
6bdedcbc
...
...
@@ -130,12 +130,13 @@ expect_bounce_fail (void *server, void *client)
assert
(
zmq_errno
()
==
EAGAIN
);
// Send message from server to client to test other direction
// If connection failed, send may block, without a timeout
rc
=
zmq_setsockopt
(
server
,
ZMQ_SNDTIMEO
,
&
timeout
,
sizeof
(
int
));
assert
(
rc
==
0
);
rc
=
zmq_send
(
server
,
content
,
32
,
ZMQ_SNDMORE
);
assert
(
(
rc
==
32
)
||
((
rc
==
-
1
)
&&
(
errno
==
EAGAIN
)
));
assert
(
rc
==
32
||
(
rc
==
-
1
&&
zmq_errno
()
==
EAGAIN
));
rc
=
zmq_send
(
server
,
content
,
32
,
0
);
assert
(
(
rc
==
32
)
||
((
rc
==
-
1
)
&&
(
errno
==
EAGAIN
)
));
assert
(
rc
==
32
||
(
rc
==
-
1
&&
zmq_errno
()
==
EAGAIN
));
// Receive message at client side (should not succeed)
rc
=
zmq_setsockopt
(
client
,
ZMQ_RCVTIMEO
,
&
timeout
,
sizeof
(
int
));
...
...
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