Michael
2058dece77
added windows.hpp with include check
...
windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600
2016-02-12 23:36:48 +11:00
Michael
45404f4b06
added windows.hpp with include check
...
windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600
2016-02-12 23:36:07 +11:00
Michael
6f4e9f13f3
changed order of includes
...
windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600
2016-02-12 23:34:43 +11:00
Michael
af3b9452a2
remove include that is already in header
2016-02-12 23:33:22 +11:00
Min RK
e68c2d2563
Revert "update minimum _WIN32_WINNT version to 0x0600 for 4.1.4 onwards"
2016-02-11 14:00:41 +01:00
Michael
e3fba7d447
updated minimum _WIN32_WINNT version to 0x0600
...
if_nametoindex requires minimum windows version vista, which is 0x0600
2016-02-02 22:32:16 +11:00
Ilya Kulakov
0c5c536303
Backport zeromq/libzmq#1723
2016-01-21 19:56:23 +06:00
Ilya Kulakov
4788c7d2a9
Backport zeromq/libzmq#1722
2016-01-21 13:47:55 +06:00
Pieter Hintjens
795a7e3de2
Revert "Fix missing include for if_nametoindex on Windows."
...
This reverts commit b9dbc5b8caea5491c7330d891e93e2791d84c906.
2016-01-18 13:04:00 +01:00
Pieter Hintjens
95766dd09c
Revert "Add missing support for IPv6 link local addresses (which include % followed by the interface name)"
...
This reverts commit 849e5b07d982e7c0917a13d9ff22d447817dd7fe.
2016-01-18 13:03:49 +01:00
Ilya Kulakov
b9dbc5b8ca
Fix missing include for if_nametoindex on Windows.
...
Raise min version to Vista.
2015-12-18 19:42:44 +06:00
Sathish Yenna
849e5b07d9
Add missing support for IPv6 link local addresses (which include % followed by the interface name)
2015-12-10 00:15:51 +01:00
Sergey Kovalevich
5ee936a9be
backport https://github.com/zeromq/libzmq/pull/1604
2015-11-20 13:54:16 +02:00
somdoron
af543a58f2
Fix a bug when stream_engine try to set alreadt set metadata
2015-11-19 14:01:05 +02:00
Constantin Rack
89d4e995ef
Problem: return code of sodium_init() is not checked.
...
There are two todo comments in curve_client.cpp and curve_server.cpp that suggest
checking the return code of sodium_init() call. sodium_init() returns -1 on error,
0 on success and 1 if it has been called before and is already initalized:
https://github.com/jedisct1/libsodium/blob/master/src/libsodium/sodium/core.c
2015-11-03 18:04:42 +02:00
Min RK
28432b562d
Revert "stdint.h is available in VS2008 (1500)"
2015-11-03 09:56:19 +01:00
Pieter Hintjens
a73740b304
Backported fix for #1399
...
Problem: asserts if EINVAL recieved on read/write
This causes assertion failures after network reconnects.
Solution: allow EINVAL as a possible condition after read/write.
Fixes #829
Fixes #1399
Patch provided by Michele Dionisio @mdionisio, thanks :)
2015-11-01 09:10:09 +01:00
Rik van der Heijden
a9ca06847b
Fix issue #52 , reset all bits in getsockopt
2015-08-01 10:28:57 +02:00
Marin Atanasov Nikolov
5bd3a0d433
Typo fix
2015-06-23 14:34:33 +03:00
Constantin Rack
81464652d2
Solution: allow brackets in tcp address. Fixes #43
2015-06-23 08:29:36 +02:00
Gabi Davar
8a41475b74
stdint is available in VS2008 (1600)
2015-06-19 14:49:04 +03:00
Min RK
fd7ba4d509
don't check POLLOUT for single-socket proxies
2015-06-07 11:09:08 -07:00
Pieter Hintjens
d5a66f7b7d
Merge pull request #32 from hintjens/master
...
Problem: source file headers are somewhat confusing about LGPLv3
2015-06-02 23:41:02 +02:00
Pieter Hintjens
b0a69fc623
Problem: source file headers are somewhat confusing about LGPLv3
...
Of course people still "can" distributed the sources under the
LGPLv3. However we provide COPYING.LESSER with additional grants.
Solution: specify these grants in the header of each source file.
2015-06-02 22:47:01 +02:00
Rik van der Heijden
b5a00b76e8
Fix another degradation, CPU maxes out when POLLOUT is set because poll exits on POLLOUT and doesn't wait for POLLIN.
2015-05-27 14:21:47 +02:00
Rik van der Heijden
3a0f218cae
Fix degradation from #1382 , POLLOUT was tested but not requested
2015-05-24 22:38:22 +02:00
Rik van der Heijden
f5e1c607a5
Merged fix for #1382
2015-05-01 11:26:26 +02:00
Martin Hurton
6f75687c9e
pub: Don't delay pipe termination
2015-05-01 08:42:54 +02:00
Martin Hurton
8e26e4b35c
push: Don't delay pipe termination
2015-05-01 08:42:38 +02:00
Pieter Hintjens
fee19e26ac
Problem: shutdown asserts if WSASTARUP wasn't done previously
...
This is a silly assertion that causes problems if libzmq.dll is
called in some esoteric ways.
Solution: if the shutdown code detects WSANOTINITIALISED, then
exit silently.
Fixes #1377
Fixes #1144
2015-04-21 23:23:42 +02:00
Martin Hurton
160a7efae4
Adjust number of sent messages on hiccups
...
Not adjusting the sent message count may lead to situation when SUB
socket does not forward its subscriptions.
2015-02-20 09:13:47 +01:00
Thomas Rodgers
73fa40b9ac
resolve #1347 addresses issue of no metadata on identity frame
2015-02-19 13:31:26 -06:00
Thomas Rodgers
2a3379af4d
Revert "resolve #1347 addresses issue of no metadata on identity frame"
...
This reverts commit f75ed8565e984f423e748717108486b458d5a724.
2015-02-19 13:27:18 -06:00
Thomas Rodgers
f75ed8565e
resolve #1347 addresses issue of no metadata on identity frame
2015-02-19 13:26:26 -06:00
Thomas Rodgers
d172875f52
Backport resolve #1357 Support limited metadata for STREAM sockets
2015-02-18 13:09:11 -06:00
Thomas Rodgers
48ed789c18
Revert "STREAM socket support for limited metadata"
...
This reverts commit 5afd4e16edb51a3996c8d4b9f698dea8d2917c43.
2015-02-18 12:36:21 -06:00
Thomas Rodgers
c6d5c965fa
Revert "Remove debugging cruft"
...
This reverts commit bbecdf397e0661ff469eb4898008c09d00efc397.
2015-02-18 12:36:19 -06:00
Thomas Rodgers
a69a043e14
Revert "Add connector.close() back"
...
This reverts commit 5e60f18d3a68947f469346162deae7e65732ba50.
2015-02-18 12:36:13 -06:00
Thomas Rodgers
5e60f18d3a
Add connector.close() back
...
Needed if session->push() ever fails
2015-02-18 11:17:41 -06:00
Thomas Rodgers
bbecdf397e
Remove debugging cruft
2015-02-18 11:14:23 -06:00
Thomas Rodgers
5afd4e16ed
STREAM socket support for limited metadata
...
WIP - STREAM socket support for limited metadata
STREAM socket support for limited metadata
2015-02-18 11:12:32 -06:00
Thomas Rodgers
5229eeef5b
resolve #1347 Backport zmq_msg_gets "Peer-Address"
2015-02-14 10:44:52 -06:00
Topher Brown
89dd9fddaf
close (clean up) unsendable messages
2015-01-22 16:56:30 -05:00
Pieter Hintjens
583a5f9601
Merge pull request #14 from metadings/master
...
Upgrading zmq_msg_t to 64 bytes
2015-01-14 13:31:24 +01:00
metadings
d206fe2d45
Upgrading zmq_msg_t to 64 bytes
2015-01-14 13:26:48 +01:00
Thomas Rodgers
8f236dc55e
resolve #1296 Remove of ZMQ_IDENTITY_FD socket option
...
Revert "linking fd to pipe identity via socket option"
This reverts commit fe3e8c5c70dc3fbcb0244c5f4c52dcd71b80f858.
Conflicts:
include/zmq.h
src/pipe.hpp
src/session_base.cpp
2015-01-09 18:14:22 -06:00
Min RK
14c94c0df9
add session->zap_enabled()
...
checks mechanism != NULL, or NULL + non-empty zap_domain
2014-12-04 13:42:15 +01:00
Min RK
56e09c80f8
reject old ZMTP connections if auth enabled
...
auth mechanisms were only enabled when ZMTP handshake
is latest version, meaning that connections from old sockets
would skip authentication altogether
2014-12-04 13:42:07 +01:00
lysyloren
ed6bf9f178
Unbind socket with real endpoint when binding by wild-card * address
2014-10-29 10:17:30 +01:00
Martin Hurton
03c35d2659
Fix issue #1224
2014-10-23 10:28:19 +02:00