Pieter Hintjens
4d45ee9440
Merge pull request #103 from bluca/uninitialised_sockopt
...
Problem: curve keys getsockopt uninitialised read
2016-02-16 14:51:29 +01:00
Luca Boccassi
eda5426865
Problem: Travis CI uses libsodium unstable branch
...
Solution: use stable branch instead of the development branch, and
also clone with --depth 1 to make it more efficient.
2016-02-16 13:41:46 +00:00
Luca Boccassi
6a66c05179
Problem: curve keys getsockopt uninitialised read
...
Solution: always initialised zmq::options_t class variables arrays to
avoid reading uninitialised data when CURVE is not yet configured and
a getsockopt ZMQ_CURVE_{SERVER | PUBLIC | SECRET]KEY is issued.
Backport from libzmq.
2016-02-16 13:40:40 +00:00
Pieter Hintjens
cb811a1e0c
Merge pull request #102 from hintjens/master
...
Backported fix #1608
2016-02-16 12:03:11 +01:00
Pieter Hintjens
87dd03750b
Updated NEWS for fix #1608
2016-02-16 12:02:26 +01:00
Pieter Hintjens
4cee289697
Problem: Windows 7 TCP slow start
...
See issue #1608 .
This is an old issue with Windows 7. The effect is that we see a latency
ramp on the first 500 messages.
* The ramp is unaffected by message size.
* Sleeping up to 100msec between sends has no effect except to switch
off ZeroMQ batching so making the ramp more visible.
* After 500 messages, latency falls back down to ~10-40 usec.
* Over inproc:// the ramp happens when we use the signaler class.
* Client-server over inproc:// does not show the ramp.
* Client-server over tcp:// shows a similar ramp.
We know that the signaller is using TCP on Windows. We can 'prime' the
connection by doing 500 dummy sends. This potentially causes new sockets
to be delayed on creation, which is not a good solution.
Note that the signaller sends zero-byte messages. This may also be
confusing TCP.
Solution: flood the receive buffer when creating a new FD pair; send a
1M buffer and discard it.
Fixes #1608
2016-02-16 12:01:45 +01:00
Pieter Hintjens
b624f1adc9
Merge pull request #101 from bluca/gcc6
...
Problem: build broken with gcc 6
2016-02-12 23:17:22 +01:00
meox
49593151db
[PATCH] fix error with gcc 5.2
2016-02-12 21:57:51 +00:00
Pieter Hintjens
b341dd7ffe
Merge pull request #100 from CommanderBubble/master
...
compilation fixes for when _WIN32_WINNT >= 0x0600
2016-02-12 13:45:12 +01:00
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
Michael
626abbdaf2
update for mingw's default _WIN32_WINNT
...
mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check
2016-02-12 23:32:20 +11:00
Michael
d0b341cf0f
update for mingw's default _WIN32_WINNT
...
mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check
2016-02-12 23:31:55 +11:00
Michael
41cc603d11
update for mingw's default _WIN32_WINNT
...
mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check
2016-02-12 23:31:24 +11:00
Pieter Hintjens
ad7fe55e95
Merge pull request #98 from zeromq/revert-95-patch-1
...
Revert "update minimum _WIN32_WINNT version to 0x0600 for 4.1.4 onwards"
2016-02-11 14:16:39 +01: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
Pieter Hintjens
b539733cee
Merge pull request #97 from minrk/configure-tweetnacl
...
support tweetnacl in configure
2016-02-08 13:01:12 +01:00
Min RK
3ae84e6b00
fallback on tweetnacl if libsodium is not found and not explicitly requested
2016-02-08 12:44:45 +01:00
Min RK
6f022cce92
add --with-tweetnacl to configure
...
allows building with tweetnacl without cmake
2016-02-08 12:44:45 +01:00
Pieter Hintjens
58ac36593f
Merge pull request #95 from CommanderBubble/patch-1
...
update minimum _WIN32_WINNT version to 0x0600 for 4.1.4 onwards
2016-02-02 14:17:48 +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
Pieter Hintjens
5501f19a0f
Update NEWS
2016-01-21 18:04:09 +01:00
Pieter Hintjens
9bdfb94999
Merge pull request #93 from GreatFruitOmsk/master
...
Backport zeromq/libzmq#1723
2016-01-21 18:03:03 +01:00
Ilya Kulakov
0c5c536303
Backport zeromq/libzmq#1723
2016-01-21 19:56:23 +06:00
Pieter Hintjens
802c2a8a2b
Merge pull request #92 from GreatFruitOmsk/master
...
Backport zeromq/libzmq#1722
2016-01-21 08:58:23 +01:00
Ilya Kulakov
4788c7d2a9
Backport zeromq/libzmq#1722
2016-01-21 13:47:55 +06:00
Pieter Hintjens
b7a30978ca
Merge pull request #91 from minrk/backport-winrandom-backwards
...
backport winrandom fix
2016-01-18 15:53:16 +01:00
Anonymous Maarten
d1a0baf25f
tweetNaCL: fix winrandom
...
problem: random byte generation on windows got stuck in an infinite loop
solution: the failure test is incorrect. Change it
2016-01-18 15:24:33 +01:00
Pieter Hintjens
c7642aa434
Merge pull request #90 from hintjens/master
...
Reverted patch for IPv6 support
2016-01-18 13:05:29 +01: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
Pieter Hintjens
7689bc30b9
Merge pull request #89 from minrk/stdint.h
...
don't include stdint.h on msc < 1600
2016-01-18 12:47:33 +01:00
Min RK
0f684ac16c
don't include stdint.h on msc < 1600
...
where stdint.h is unavailable
(see stdint.hpp for the same check)
2016-01-18 12:30:05 +01:00
Pieter Hintjens
e8095071d9
Merge pull request #88 from minrk/tweetnacl
...
tweetnacl in sdists
2016-01-18 11:14:08 +01:00
Min RK
f13d4f1d04
add windows randombytes implementation
...
backport zeromq/libzmq#1619
2016-01-18 11:13:11 +01:00
Min RK
56835bc833
include tweetnacl in dist
...
backport zeromq/libzmq#1707
2016-01-18 10:39:00 +01:00
Pieter Hintjens
6933dfff58
Merge pull request #87 from GreatFruitOmsk/master
...
Backport #1702
2016-01-14 15:15:55 +01:00
Ilya Kulakov
6c3f1069aa
Backport #1702
2016-01-14 18:26:05 +06:00
Pieter Hintjens
6548a48bc7
Merge pull request #85 from GreatFruitOmsk/master
...
Backport of #1676
2015-12-18 16:11:22 +01:00
Ilya Kulakov
a649a13117
Backport of #1676
2015-12-18 20:56:24 +06:00
Pieter Hintjens
e2a2175f15
Merge pull request #84 from GreatFruitOmsk/master
...
Fix missing include for if_nametoindex on Windows.
2015-12-18 15:07:53 +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
Pieter Hintjens
9dd76f68b1
Updated NEWS for #1673
2015-12-18 10:33:50 +01:00
Ilya Kulakov
ef8145b25f
Fix redirecting location of pdb via CMAKE_PDB_OUTPUT_DIRECTORY.
2015-12-18 10:32:25 +01:00
Pieter Hintjens
71bc8bee04
Updated for release 4.1.5
2015-12-18 10:12:00 +01:00
Pieter Hintjens
7ee12b527d
Updated .gitignore
v4.1.4
2015-12-18 09:25:11 +01:00
Pieter Hintjens
e4bb5662c0
Updated NEWS for release 4.1.4
2015-12-18 09:21:40 +01:00
Pieter Hintjens
d89467270e
Merge pull request #79 from hintjens/master
...
Fixed #1661
2015-12-10 17:07:14 +01:00