1. 12 Oct, 2016 1 commit
    • Jens Auer's avatar
      Fixed problems from previous PR for #2158 (#2160) · b0313259
      Jens Auer authored
      * - Fixed windows build errors
      - Extended monitor lock scope to prevent race-condition between
        process_stop and monitor
      
      * - Fixed windows build errors
      - Extended monitor lock scope to prevent race-condition between
        process_stop and monitor
      b0313259
  2. 11 Oct, 2016 1 commit
  3. 17 Sep, 2016 2 commits
  4. 04 Sep, 2016 2 commits
  5. 20 Jun, 2016 1 commit
  6. 01 Jun, 2016 1 commit
  7. 16 May, 2016 2 commits
  8. 15 May, 2016 1 commit
  9. 14 May, 2016 1 commit
  10. 10 May, 2016 2 commits
  11. 05 May, 2016 2 commits
  12. 04 May, 2016 1 commit
  13. 29 Apr, 2016 1 commit
  14. 22 Apr, 2016 1 commit
  15. 21 Apr, 2016 1 commit
  16. 18 Apr, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: can't unbind with bound addr with IPv6 · c8211bf3
      Luca Boccassi authored
      Solution: try to resolve the TCP endpoint passed by the user in the
      zmq_unbind call before giving up, if it doesn't match.
      This fixes a breakage in the API, where after a call to
      zmq_bind(s, "tcp://127.0.0.1:9999") with IPv6 enabled on s would
      result in the call to zmq_unbind(s, "tcp://127.0.0.1:9999") failing.
      Add more test cases to increase coverage on all combinations of TCP
      endpoints.
      c8211bf3
  17. 15 Apr, 2016 2 commits
    • hitstergtd's avatar
      Problem: check_protocol() logic duplicated twice · 8cb27316
      hitstergtd authored
      Problem:
      Conditional logic in check_protocol() that checks if a protocol is supported,
      is duplicated twice. Moreover, the first set of checks to ascertain if a
      protocol is supported is done regardless of whether the particular protocol
      will be built into the library or not.
      
      Solution:
      * Simplify/collapse all supported protocol checks into one in check_protocol()
      * Enclose pgm/epgm/norm socket+protocol match checks with requisite macros
      8cb27316
    • hitstergtd's avatar
      Problem: errno not set if UDP is NOT used with ZMQ_RADIO or ZMQ_DISH · 36237794
      hitstergtd authored
      Solution: set errno to ENOCOMPATPROTO in check_protocol()
      36237794
  18. 22 Feb, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: all tests fail with assert in in_event · 80e529a1
      Luca Boccassi authored
      Solution: socket_base_t::in_event cannot do anything useful with
      return status of process_commands. Asserting is the wrong solution,
      as it is entirely valid to be interrupted or for the context to be
      terminated, so discard the value.
      80e529a1
  19. 21 Feb, 2016 4 commits
  20. 18 Feb, 2016 1 commit
  21. 17 Feb, 2016 1 commit
  22. 01 Feb, 2016 3 commits
  23. 30 Jan, 2016 2 commits
    • Min RK's avatar
      allow underscores in domain names · cdec4dc9
      Min RK authored
      Since they are allowed
      
      (They are not, however, allowed in hostnames)
      cdec4dc9
    • Jean-Christophe Fillion-Robin's avatar
      Style: Fix unused parameter compilation warnings · f329252d
      Jean-Christophe Fillion-Robin authored
      This commit addresses the following warnings reported on gcc 5.2.1. In
      the future, this will help reduce the "noise" and help catch warnings
      revealing a serious problem.
      
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      /path/to/libzmq/src/options.cpp:1048:36: warning: unused parameter ‘option_’ [-Wunused-parameter]
       bool zmq::options_t::is_valid (int option_) const
                                          ^
      
      /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
               const unsigned char *cmd_data, size_t data_size)
                                    ^
      
      /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
               const unsigned char *cmd_data, size_t data_size)
                                    ^
      
      /path/to/libzmq/src/socket_base.cpp:1445:44: warning: unused parameter ‘group_’ [-Wunused-parameter]
       int zmq::socket_base_t::xjoin (const char *group_)
                                                  ^
      /path/to/libzmq/src/socket_base.cpp:1451:45: warning: unused parameter ‘group_’ [-Wunused-parameter]
       int zmq::socket_base_t::xleave (const char *group_)
                                                   ^
      
      /path/to/libzmq/src/radio.cpp:145:33: warning: unused parameter ‘msg_’ [-Wunused-parameter]
       int zmq::radio_t::xrecv (msg_t *msg_)
                                       ^
      /path/to/libzmq/src/dish.cpp:164:32: warning: unused parameter ‘msg_’ [-Wunused-parameter]
       int zmq::dish_t::xsend (msg_t *msg_)
                                      ^
      
      /path/to/libzmq/tests/test_msg_ffn.cpp:32:16: warning: unused parameter ‘data’ [-Wunused-parameter]
       void ffn(void *data, void *hint) {
                      ^
      
      /path/to/libzmq/tests/test_timers.cpp:50:19: warning: unused parameter ‘timer_id’ [-Wunused-parameter]
       void handler (int timer_id, void* arg)
                         ^
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      f329252d
  24. 29 Jan, 2016 1 commit
  25. 28 Jan, 2016 1 commit
  26. 27 Jan, 2016 1 commit
  27. 21 Jan, 2016 2 commits