- 17 Apr, 2020 2 commits
-
-
Gudmundur Adalsteinsson authored
Solution: Add zmq_poller_size that queries the number of objects registered, allowing safer usages of poller to avoid livelock situations.
-
Doron Somech authored
When using ZMQ_HEARTBEAT one still needs to implement application-level heartbeat in order to know when to send a hello message. For example, with the majordomo protocol, the worker needs to send a READY message when connecting to a broker. If the connection to the broker drops, and the heartbeat recognizes it the worker won't know about it and won't send the READY msg. To solve that, the majordomo worker still has to implement heartbeat. With this new option, whenever the connection drops and reconnects the hello message will be sent, greatly simplify the majordomo protocol, as now READY and HEARTBEAT can be handled by zeromq.
-
- 13 Apr, 2020 3 commits
-
-
grmt authored
* Allow CMAKE to generate ws and wss transports I guess there is little use of just ws transport, so by default GnuTLS (and libsodium) are enabled * cmake libzmq including wss transport (ubuntu 19.10 and ubuntu 19.10 + wsl 1.0) test_security_fails (libsodium assert !?) * updated relicense * make external libs gnutls nss sodium optional * #ifdef WSS classes and functions, build test*ws* only if correct libs are included, warning if libs not present * make libsodium optional * cmake fix tests TIPC transport * clang-format pointed out a wrongly placed #ifdef * GnuTLS before 3.6.7 is not safe * msvc doesn't agree with strlen in array declaration, test_socks now at least compiles on windows * windows: libsodium build fails, missing include dirs set by env var * ws transport test only works when GnuTLS is found * Fixed condition to use NSS / built in SHA1, so that test_ws_transport should now pass, also when GnuTLS is not found
-
Gudmundur Adalsteinsson authored
Solution: Fail with error if no events are active and timeout is infinite
-
Gudmundur Adalsteinsson authored
Solution: Set to zero for socket events
-
- 09 Apr, 2020 1 commit
-
-
Gudmundur Adalsteinsson authored
* Problem: boilerplate when init msg from data copy Solution: Add zmq_msg_init_buffer to construct a message by copying memory from buffer.
-
- 14 Mar, 2020 3 commits
-
-
JaeSang Yoo authored
Some ifdefs in condition checking may cause problem in some compiler or static analyzers. When PGM and NORM both are disabled, some condition will be derived as false || false. Solution: Splitted condition checking for every ifdef conditions
-
JaeSang Yoo authored
Conditinoal compile for OPENPGM and NORM is mixed. Also found few codes which needs conditional compile but not applied. Solution: Apply conditional compile preprocessors
-
JaeSang Yoo authored
Solution: replace into named constants
-
- 07 Mar, 2020 1 commit
-
-
Luca Boccassi authored
Solution: fix them
-
- 28 Feb, 2020 1 commit
-
-
Rickard Hallerbäck authored
* ip_resolver_t: adding virtual descructor to silence C++-warning -Wnon-virtual-dtor * adding my relicense
-
- 23 Feb, 2020 2 commits
-
-
Luca Boccassi authored
Solution: run make clang-format-diff
-
Bill Torpey authored
* add option to stop trying to reconnect on ECONNREFUSED
-
- 09 Feb, 2020 2 commits
-
-
Doron Somech authored
Solution: a new socket type, called PEER. Very similar to SERVER, but can only connect to other PEERs. Also a new zmq_connect_peer method, that connect and return a routing-id in thread-safe and atomic operation
-
Doron Somech authored
-
- 06 Feb, 2020 3 commits
-
-
Doron Somech authored
-
Doron Somech authored
Solution: return after the fallback fixes #3809
-
Doron Somech authored
solution: if msg is not shared or constant, mask the message in place
-
- 05 Feb, 2020 3 commits
-
-
Luca Boccassi authored
Solution: bump minor version number in the engine as all 3.1 features are now implemented
-
Luca Boccassi authored
Solution: if all peers of a socket are >= 3.1 use sub/cancel commands instead of the old 0/1 messages. For backward compatibility, move the handling of 0/1 or sub/cancel command strings to the encoders, so that the right thing can be done depending on the protocol version. Do not set the command flag until the encoder, so that we can handle the inproc case (which skips the encoder).
-
Cameron Smith authored
-
- 04 Feb, 2020 3 commits
-
-
Simon Giesecke authored
Solution: add const where possible
-
Simon Giesecke authored
Solution: remove them
-
Simon Giesecke authored
Solution: add version check and fall back to old implementation for old versions
-
- 03 Feb, 2020 3 commits
-
-
Simon Giesecke authored
Solution: use crypto_box_easy_afternm and crypto_box_open_easy_afternm in-place
-
Simon Giesecke authored
Solution: extract into separate class curve_encoding_t
-
Simon Giesecke authored
Solution: change to conform with naming convention
-
- 27 Jan, 2020 6 commits
-
-
Simon Giesecke authored
Solution: use static_cast instead
-
Simon Giesecke authored
Solution: add const/static
-
Simon Giesecke authored
Solution: add const
-
Simon Giesecke authored
Solution: remove them
-
Simon Giesecke authored
Solution: use standard loop constructs and optimize some loops
-
Simon Giesecke authored
Solution: consistently use virtual, override and final
-
- 26 Jan, 2020 1 commit
-
-
Simon Giesecke authored
Solution: fix handling of _starting and _terminate flags Add tests for this situation. Clarify documentation of zmq_ctx_shutdown and zmq_socket. Fixes #3792
-
- 23 Jan, 2020 1 commit
-
-
Denis Collette authored
Solution: replace tabs with spaces
-
- 22 Jan, 2020 1 commit
-
-
Denis Collette authored
Solution: Replaced calls to strtok with strtok_r (strtok_s for windows) in ws_engine.cpp
-
- 19 Jan, 2020 1 commit
-
-
Luca Boccassi authored
Solution: add them
-
- 18 Jan, 2020 3 commits
-
-
Matthias Loy authored
websocket urls without a path caused crash!
-
Doron Somech authored
Solution: when peer send a close msg, close the connection
-
Doron Somech authored
Solution: implement both PONG response and producing pings
-