1. 27 Mar, 2018 1 commit
  2. 09 Mar, 2018 1 commit
    • Luca Boccassi's avatar
      Problem: TIPC availability check is too strict (#2977) · 19060345
      Luca Boccassi authored
      * Problem: TIPC availability check is too strict
      
      Solution: at build time only check if the API is available. In the tests
      do a first check and a skip if the functionality is not available.
      
      TIPC needs an in-tree but not loaded by default kernel module, tipc.ko
      to be loaded, which requires root, so it is unlikely to be available on
      any build system by default.
      This will allow most distributions to ship with TIPC support built in,
      and to avoid tests failure if the module is not there.
      
      * Problem: no Travis tests for TIPC
      
      Solution: mark one job with sudo: required and load the kernel module
      
      * Problem: CMake fails when test returns 77 (skip)
      
      Solution: set property to let it mark the test as skipped as intended
      19060345
  3. 12 Feb, 2018 1 commit
  4. 02 Feb, 2018 4 commits
  5. 13 Jan, 2018 2 commits
  6. 18 Nov, 2017 1 commit
  7. 16 Oct, 2017 1 commit
    • f18m's avatar
      Background threads enhancements (#2778) · bfbb4ff2
      f18m authored
      * Background thread scheduling 
      
      - add ZMQ_THREAD_AFFINITY ctx option; set all thread scheduling options
      from the context of the secondary thread instead of using the main
      process thread context!
      - change ZMQ_THREAD_PRIORITY to support setting NICE of the background
      thread when using SCHED_OTHER
      bfbb4ff2
  8. 01 Sep, 2017 2 commits
  9. 19 Aug, 2017 1 commit
  10. 10 Aug, 2017 1 commit
  11. 31 Jul, 2017 1 commit
    • Brian Russell's avatar
      Add socket option BINDTODEVICE · b963542e
      Brian Russell authored
      Linux now supports Virtual Routing and Forwarding (VRF) as per:
      
      https://www.kernel.org/doc/Documentation/networking/vrf.txt
      
      In order for an application to bind or connect to a socket with an
      address in a VRF, they need to first bind the socket to the VRF device:
      
          setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1);
      
      Note "dev" is the VRF device, eg. VRF "blue", rather than an interface
      enslaved to the VRF.
      
      Add a new socket option, ZMQ_BINDTODEVICE, to bind a socket to a device.
      In general, if a socket is bound to a device, eg. an interface, only
      packets received from that particular device are processed by the socket.
      
      If device is a VRF device, then subsequent binds/connects to that socket
      use addresses in the VRF routing table.
      b963542e
  12. 28 Jul, 2017 2 commits
  13. 01 May, 2017 2 commits
  14. 04 Apr, 2017 1 commit
    • bbdb68's avatar
      Problem: no windows UWP support · 1d58a009
      bbdb68 authored
      * add define for windows/UWP
      
      * prevent issue with COM references
      
      * gettickcount not available on uwp
      
      * add compiler definitions
      
      * add convenitnece cmake file
      
      * brute force uwp compilation
      
      * fix compiler version
      
      * cosmetics
      1d58a009
  15. 12 Mar, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: ZMQ background threads are unnamed · 3ab4796c
      Luca Boccassi authored
      Solution: use pthread API to set the name. For now call every thread
      "ZMQ b/g thread". Would be nice to number the I/O threads and name
      explicitly the reaper thread, but in reality a bit of internal API
      churn would be necessary, so perhaps it's not worth it.
      This is useful when debugging a process with many threads.
      3ab4796c
  16. 22 Feb, 2017 1 commit
    • boringuy's avatar
      cmake WITH_LIBSODIUM option is broken (#2349) · d6f4263c
      boringuy authored
      * cmake WITH_LIBSODIUM option is broken
      
      - Fixed the variable name in platform.hpp.in
      - Fixed #if check for randombytes_close() when libsodium is used
      
      * Fixed typo from previous commit
      
      * Reverted compile error fix for randombytes_close()
      d6f4263c
  17. 27 Dec, 2016 2 commits
  18. 26 Dec, 2016 2 commits
  19. 21 Apr, 2016 2 commits
  20. 10 Apr, 2016 1 commit
  21. 11 Feb, 2016 4 commits
    • Luca Boccassi's avatar
      Problem: CI use of sodium or nacl is confusing · 9393f063
      Luca Boccassi authored
      Solution: establish a matrix of CI options. On one axis we have the
      build system (autotools, cmake, android) and on the other axis we
      have the encryption options (tweetnacl, libsodium or none).
      9393f063
    • Luca Boccassi's avatar
      Problem: typo in CMake platform.hpp breaks build · 01eb5807
      Luca Boccassi authored
      Solution: use ZMQ_USE_TWEETNACL as a define as expected instead of
      HAVE_TWEETNACL
      01eb5807
    • Luca Boccassi's avatar
      Problem: CMake CI build still clones libsodium · 0bdc5d04
      Luca Boccassi authored
      Solution: avoid cloning libsodium, default build is tweetnacl
      0bdc5d04
    • Pieter Hintjens's avatar
      Problem: tweetnacl sources are a mess · f8ed793f
      Pieter Hintjens authored
      - they have no copyright / license statement
      - they are in some randomish directory structure
      - they are a mix of postable and non-portable files
      - they do not conform to conditional compile environment
      
      Overall, it makes it rather more work than needed, in build scripts.
      
      Solution: clean up tweetnacl sauce.
      
      - merged code into single tweetnacl.c and .h
      - standard copyright header, DJB to AUTHORS
      - moved into src/ along with all other source files
      - all system and conditional compilation hidden in these files
      - thus, they can be compiled and packaged in all cases
      - ZMQ_USE_TWEETNACL is set when we're using built-in tweetnacl
      - HAVE_LIBSODIUM is set when we're using external libsodium
      f8ed793f
  22. 08 Feb, 2016 1 commit
  23. 05 May, 2015 1 commit
  24. 26 Apr, 2015 1 commit
  25. 11 Mar, 2015 1 commit
  26. 12 Feb, 2015 2 commits