Pieter Hintjens
8358d4e832
Renamed ZMQ_DELAY_ATTACH_ON_CONNECT_COULD_THIS_BE_ANY_LONGER to ZMQ_IMMEDIATE
2013-03-12 16:11:19 +01:00
Pieter Hintjens
898ad19851
It's its not it's
2013-03-12 13:24:57 +01:00
Guido Goldstein
d78d4972ae
Adapted man page to API.
2013-03-08 16:58:04 +01:00
Pieter Hintjens
8ab3c4a1bf
Fixed issue #500
2013-01-31 21:52:30 +01:00
Pieter Hintjens
309740e197
Fixed issue #499
2013-01-31 20:47:45 +01:00
Henrik
7918175717
Shortening the =-chars to make asciidoc work
2013-01-19 18:02:24 +01:00
MinRK
edd43e1ca4
deprecate zmq_ctx_destroy in favor of zmq_ctx_term
...
in order to avoid logical collisions with pre-existing notions of context destruction in bindings (czmq, pyzmq).
2013-01-17 15:48:18 -08:00
Pieter Hintjens
bbc5befc66
Clarified zmq_bind on icp://
2013-01-14 17:49:19 +01:00
Pieter Hintjens
b0f0d3fcb4
Clarification on zmq_msg_more
2013-01-08 09:08:02 +01:00
Pieter Hintjens
12a648db07
Specified that it's safe to call zmq_msg_more after zmq_msg_close
2013-01-08 09:08:01 +01:00
Pieter Hintjens
af934f85ca
Removed use of deprecated API methods
2013-01-08 09:08:01 +01:00
John Muehlhausen
d32e392278
allow XSUB/XPUB to send/recv messages unrelated to sub/unsub (LIBZMQ-490)
...
zmq::xpub_t::xread_activated() – change to process messages without 0
or 1 prefix, but without affecting subscriptions
zmq::xsub_t::xsend() – change to send rather than discard messages
without 0 or 1 prefix, but without affecting subscriptions
Update documentation
2013-01-07 22:24:24 -06:00
Stefan Radomski
66c22456b9
Close pipes for inproc sockets on zmq_disconnect
...
- fixes LIBZMQ-476 and LIBZMQ-475
2012-12-04 15:14:21 +01:00
Ian Barber
be4cc2f80a
Update zmq_tcp to include a reference to RFC
...
Include a note with a link to ZMQ RFC 15 for the ZMTP protocol
description.
2012-11-20 19:13:28 +00:00
Pieter Hintjens
1489857973
Fixed ZMQ_SNDHWM description
2012-11-19 16:32:58 +09:00
Pieter Hintjens
7533ebb33d
Clarified that SNDHWM is per part, not message
2012-11-19 10:20:56 +09:00
Pieter Hintjens
6290054f00
Added ROUTER-ROUTER as legal combination
2012-11-09 21:10:34 +09:00
Pieter Hintjens
872ef76f3c
Added DEALER-DEALER as legal combination
2012-11-07 17:23:37 +01:00
Pieter Hintjens
777c38ae32
Renamed raw option to ZMQ_ROUTER_RAW
2012-11-06 13:18:58 +01:00
Pieter Hintjens
79da450b8b
Fixed formatting in man page
2012-10-31 04:35:15 +01:00
Pieter Hintjens
171897f4e8
Cleanups to man pages
2012-10-27 09:43:19 +09:00
Pieter Hintjens
066606322c
Added unbind/disconnect man pages, notes to deprecated methods
2012-10-19 16:23:21 +09:00
Pieter Hintjens
a3889d00c3
Fixed issue #451
2012-10-19 15:09:52 +09:00
Pieter Hintjens
983ee761b1
Renamed ZMQ_ROUTER_BEHAVIOR to ZMQ_ROUTER_MANDATORY for clarity
2012-10-08 16:36:35 +09:00
Ian Barber
db690e3d99
Merge pull request #435 from hintjens/master
...
Added ZMQ_XPUB_VERBOSE option
2012-10-07 12:48:18 -07:00
Pieter Hintjens
f87bf38293
Fixed issue #443
2012-10-08 00:57:43 +09:00
Vaughan Newton
ce53fe0337
Minor documentation fix: zmq_msg_recv instead of zmq_msg_send
2012-10-06 13:15:17 +02:00
Lourens Naudé
8a57e4a5d7
Merge branch 'master' into fix-monitor
2012-09-21 12:55:01 +01:00
Lourens Naudé
759d453368
Significantly reworked the monitoring infrastructure with a more granular per socket API and to play well with monitoring endpoints in application threads
2012-09-21 12:53:31 +01:00
Vaughan Newton
f6a840b65b
Update doc/zmq_msg_get.txt
2012-09-20 21:39:45 +03:00
Pieter Hintjens
5db28752f3
Removed 'device' concept and introduced proxies
...
* zmq_device is now a wrapper that calls zmq_proxy
* zmq_proxy adds capture socket
2012-09-07 18:38:50 +09:00
Pieter Hintjens
aaac4b84cb
Code cleanups
2012-09-06 18:20:33 +09:00
Ian Barber
fd67cd810a
Update ROUTER_BEHAVIOR documentation
...
Include a note about potential interactions with reactors, and update
reference to old FAIL_UNROUTABLE name.
2012-08-26 17:48:52 +01:00
Martin Hurtoň
77dd0a6fba
Merge pull request #394 from hintjens/master
...
Fixed HWM doc on ZMQ_PULL
2012-07-04 05:20:51 -07:00
Pieter Hintjens
8d96a43975
Fixed documentation of HWM on ZMQ_PULL
2012-07-04 17:46:08 +09:00
Lourens Naudé
9ccbeb84fa
Let docs for zmq_ctx_set_monitor() respect a 80 char wide column width
2012-06-26 19:35:59 +01:00
Kobolog
829d0003be
Verbose ROUTER socket behavior patch
2012-06-17 02:33:43 +04:00
Hiten P
a96dcfb29a
Correct typo: add missing single quote.
2012-06-14 10:52:44 +01:00
Pieter Hintjens
076e081de2
Merge pull request #373 from ianbarber/master
...
Add ZMQ_DELAY_ATTACH_ON_CONNECT sockopt
2012-06-12 14:18:51 -07:00
Ian Barber
704b952274
Add reference to the inproc documentation
...
The previous note in connect introduced but did not elaborate on the
requirement to bind before connect in inproc. As that discussion is in
detail in the inproc docs link to there.
2012-06-12 15:49:18 +01:00
Ian Barber
7b78ed9d60
Update bind and connect documentation for clarity
...
Based on discussion with Steve O on the list, make the difference
between bind and connect usage more clear, and add a note reflecting the
fact that inproc must have bind before connect to reinforce the
information in zmq_inproc.
2012-06-12 15:46:26 +01:00
Ian Barber
e5904e63ce
Allow blocking while connect() is completing
...
This patch, salvaged from a trainwreck accidental merge earlier, adds a
new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point
being available to push messages to until it has fully connected, making
connect work more like bind. This also applies to reconnecting sockets,
which may cause message loss of in-queue messages, so it is sensible to
use this in conjunction with a low HWM and potentially an alternative
acknowledgement path.
Notes on most of the individual commits can be found the repository log.
2012-06-12 15:34:48 +01:00
Ian Barber
95cbad3841
Revert "After speaking with Ben Gray and the discussion on the mailing list, this is an attempt to create a sockopt to allow connecting pipes to not immediately be available for traffic. The problem is in a PUSH to many PULL situation, where there is a connect to a PULL which is not there. This connect will immediately create a pipe (unlike bind), and traffic will be load balanced to that pipe. This means if there is a persistently unavailable end point then the traffic will queue until HWM is hit, and older messages will be lost."
...
This reverts commit fe3fb419fe249d7015a6c864d18464d434a55468.
2012-06-12 14:53:57 +01:00
Ian Barber
fe3fb419fe
After speaking with Ben Gray and the discussion on the mailing list, this is an attempt to create a sockopt to allow connecting pipes to not immediately be available for traffic. The problem is in a PUSH to many PULL situation, where there is a connect to a PULL which is not there. This connect will immediately create a pipe (unlike bind), and traffic will be load balanced to that pipe. This means if there is a persistently unavailable end point then the traffic will queue until HWM is hit, and older messages will be lost.
...
This patch adds a sockopt ZMQ_DELAY_ATTACH_ON_CONNECT, which if set to 1 will attempt to preempt this behavior. It does this by extending the use of the session_base to include in the outbound as well as the inbound pipe, and only associates the pipe with the socket once it receives the connected callback via a process_attach message. This works, and a test has been added to show so, but may introduce unexpected complications. The shutdown logic in this class has become marginally more awkward because of this, requiring the session to serve as the sink for both pipes if shutdown occurs with a still-connecting pipe in place. It is also possible there could be issues around flushing the messages, but as I could not directly think how to create such an issue I have not written any code with regards to that.
The documentation has been updated to reflect the change, but please do check over the code and test and review.
2012-06-01 17:58:19 +01:00
Steven McCoy
75df0194bf
Fix title on zmq_disconnect manpage.
2012-05-30 12:53:53 -04:00
Pieter Hintjens
2ab12efe11
Fixing issue #361
2012-05-28 11:01:21 +02:00
Lourens Naudé
b85ff17822
Fix too long underline in monitor docs
2012-05-24 09:39:48 +01:00
Lourens Naudé
400f6f3863
Rename monitor documentation source file to match zmq_ctx_set_monitor() API
2012-05-23 01:35:22 +01:00
Lourens Naudé
adf7a7ade1
Merge branch 'master' into monitor-regressions
2012-05-22 23:35:30 +01:00
Lourens Naudé
991b7fcc04
Rename zmq_monitor to zmq_ctx_set_monitor for compat with existing context specific APIs
2012-05-22 20:15:18 +01:00