Commit 61e476ec authored by Simon Giesecke's avatar Simon Giesecke

Problem: MAX_SOCKET_STRING is too short for ipc wildcard binds

Solution: increase size to 256
parent b54b55d8
...@@ -43,7 +43,9 @@ ...@@ -43,7 +43,9 @@
// settled. Tested to work reliably at 1 msec on a fast PC. // settled. Tested to work reliably at 1 msec on a fast PC.
#define SETTLE_TIME 300 // In msec #define SETTLE_TIME 300 // In msec
// Commonly used buffer size for ZMQ_LAST_ENDPOINT // Commonly used buffer size for ZMQ_LAST_ENDPOINT
#define MAX_SOCKET_STRING sizeof ("tcp://[::ffff:127.127.127.127]:65536") // this used to be sizeof ("tcp://[::ffff:127.127.127.127]:65536"), but this
// may be too short for ipc wildcard binds, e.g.
#define MAX_SOCKET_STRING 256
// We need to test codepaths with non-random bind ports. List them here to // We need to test codepaths with non-random bind ports. List them here to
// keep them unique, to allow parallel test runs. // keep them unique, to allow parallel test runs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment