mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Problem: cannot use wildcard port with source address
Solution: fix TCP endpoint parsing to allow tcp://127.0.0.1:*;127.0.0.1:1000
This commit is contained in:
parent
06666d8c4a
commit
ae461dc2a9
@ -853,6 +853,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|
|||||||
|| isxdigit (*check)
|
|| isxdigit (*check)
|
||||||
|| *check == '.' || *check == '-' || *check == ':' || *check == '%'
|
|| *check == '.' || *check == '-' || *check == ':' || *check == '%'
|
||||||
|| *check == ';' || *check == '[' || *check == ']' || *check == '_'
|
|| *check == ';' || *check == '[' || *check == ']' || *check == '_'
|
||||||
|
|| *check == '*'
|
||||||
) {
|
) {
|
||||||
check++;
|
check++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user