mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Problem: MAX_SOCKET_STRING is too short for ipc wildcard binds
Solution: increase size to 256
This commit is contained in:
parent
b54b55d854
commit
61e476ec89
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user