mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-03 12:58:05 +01:00
Merge pull request #1746 from minrk/allow-underscore-dns
This commit is contained in:
commit
4f4e475331
@ -845,8 +845,10 @@ int zmq::socket_base_t::connect (const char *addr_)
|
||||
while (isalnum (*check)
|
||||
|| isxdigit (*check)
|
||||
|| *check == '.' || *check == '-' || *check == ':' || *check == '%'
|
||||
|| *check == ';' || *check == ']')
|
||||
|| *check == ';' || *check == ']' || *check == '_'
|
||||
) {
|
||||
check++;
|
||||
}
|
||||
}
|
||||
// Assume the worst, now look for success
|
||||
rc = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user