Le 2015-10-06 17:47, Willy Tarreau a écrit :
Hi,
You must not forbid "[2001:db8::1234]:" otherwise people will not adopt
the square brackets notation. Some of them probably already do things
like
this :
server srv1 $IP_SRV1:$PORT_SRV1
And fill the respective environment variables with either IPv4 or IPv6.
By preventing a clearly non-ambigous config from being parsed, you'll
simply make them stay away from this new syntax, which is the opposite
to what you're seeking.
Got it.
And regarding "2001:db8::1234", you can't forbit it simply because you
don't know if 1234 is a port or not in this context, as you have
reported.
Sure. In this very specific case 1234 can’t be a port as 2001:db8:: is
then a subnet.
Is a subnet a valid entry in this context ?
Otherwise it's OK for me. Don’t forget to update the doc accordingly!
I will.
Mildis