mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 02:42:58 +01:00
Merge pull request #2148 from WGH-/doc-router-mandatory-block
doc/zmq_socket.txt: clarify that ROUTER can be blocking
This commit is contained in:
commit
075dd6a003
@ -510,7 +510,8 @@ socket option is set to '1'.
|
|||||||
When a 'ZMQ_ROUTER' socket enters the 'mute' state due to having reached the
|
When a 'ZMQ_ROUTER' socket enters the 'mute' state due to having reached the
|
||||||
high water mark for all peers, then any messages sent to the socket shall be dropped
|
high water mark for all peers, then any messages sent to the socket shall be dropped
|
||||||
until the mute state ends. Likewise, any messages routed to a peer for which
|
until the mute state ends. Likewise, any messages routed to a peer for which
|
||||||
the individual high water mark has been reached shall also be dropped.
|
the individual high water mark has been reached shall also be dropped,
|
||||||
|
unless 'ZMQ_ROUTER_MANDATORY' socket option is set.
|
||||||
|
|
||||||
When a 'ZMQ_REQ' socket is connected to a 'ZMQ_ROUTER' socket, in addition to the
|
When a 'ZMQ_REQ' socket is connected to a 'ZMQ_ROUTER' socket, in addition to the
|
||||||
_identity_ of the originating peer each message received shall contain an empty
|
_identity_ of the originating peer each message received shall contain an empty
|
||||||
@ -526,7 +527,7 @@ Direction:: Bidirectional
|
|||||||
Send/receive pattern:: Unrestricted
|
Send/receive pattern:: Unrestricted
|
||||||
Outgoing routing strategy:: See text
|
Outgoing routing strategy:: See text
|
||||||
Incoming routing strategy:: Fair-queued
|
Incoming routing strategy:: Fair-queued
|
||||||
Action in mute state:: Drop
|
Action in mute state:: Drop (see text)
|
||||||
|
|
||||||
|
|
||||||
RETURN VALUE
|
RETURN VALUE
|
||||||
|
Loading…
Reference in New Issue
Block a user