1. 18 Aug, 2013 3 commits
    • Ian Barber's avatar
      Remove delay options · 531d3ebc
      Ian Barber authored
      These were exposed to users, but have subsequently been removed as
      sockopts. They are currently only being used by ZAP, so I've moved it to
      a simpl function call (actually it's only used in one case even in that,
      so there may be a further simplification possible there).
      531d3ebc
    • Ian Barber's avatar
      Attempt to fix disconnect not respecting linger · cb35fd7b
      Ian Barber authored
      Looks like linger is honoured properly, but shutting down the session
      causes the pipe termination to come from that side - because the local
      pipe then shuts down right away it seems to trigger a terminated on the
      other end instead of waiting. This way we trigger the termination from
      the local end and then terminate the session.
      cb35fd7b
    • Ian Barber's avatar
      Merge pull request #625 from ulikoehler/zmq_send_const · ed272fe5
      Ian Barber authored
      Add zmq_send_const for constant data
      ed272fe5
  2. 17 Aug, 2013 3 commits
  3. 08 Aug, 2013 2 commits
  4. 03 Aug, 2013 3 commits
  5. 29 Jul, 2013 3 commits
  6. 28 Jul, 2013 1 commit
    • Christian Kamm's avatar
      Add ZMQ_REQ_SEND_RESETS option. · a0cc87a9
      Christian Kamm authored
      This allows making a new request on a REQ socket by sending a new
      message. Without the option set, calling send() after the first message
      is done will continue to return an EFSM error.
      
      It's useful for when a REQ is not getting a response. Previously that
      meant creating a new socket or switching to DEALER.
      a0cc87a9
  7. 26 Jul, 2013 2 commits
    • Ian Barber's avatar
      Merge pull request #620 from ckamm/req-id · 637f7941
      Ian Barber authored
      Add ZMQ_REQ_REQUEST_IDS option.
      637f7941
    • Christian Kamm's avatar
      Add ZMQ_REQ_REQUEST_IDS option. · b9646f2a
      Christian Kamm authored
      * Documentation:
      The default behavior of REQ sockets is to rely on the ordering of messages
      to match requests and responses and that is usually sufficient. When this option
      is set to 1, the REQ socket will prefix outgoing messages with an extra frame
      containing a request id. That means the full message is (request id, 0,
      user frames...). The REQ socket will discard all incoming messages that don't
      begin with these two frames.
      
      * Behavior change: When a REQ socket gets an invalid reply, it used to
        discard the message and return EAGAIN. REQ sockets still discard
        invalid messages, but keep looking at the next one automatically
        until a good one is found or there are no more messages.
      * Add test_req_request_ids.
      b9646f2a
  8. 18 Jul, 2013 5 commits
  9. 15 Jul, 2013 1 commit
  10. 14 Jul, 2013 11 commits
  11. 13 Jul, 2013 4 commits
  12. 08 Jul, 2013 1 commit
  13. 07 Jul, 2013 1 commit
    • Pieter Hintjens's avatar
      Got new test cases working with libzmq · 9ca6898f
      Pieter Hintjens authored
      * disabled the specific tests that do not work (yet) on libzmq
      * cleaned up one source (test_spec_rep.c) but the others need similar work
      * added sleep in test_spec_rep to allow connects time to happen; this would
        not be needed if we connected out to the REP peers instead in from them,
        but I didn't want to change the logic of the test code.
      9ca6898f