Control: reopen 994778
Control: severity 994778 minor
Control: tags 994778 +upstream

Hallo,
* corubba [Mon, Oct 11 2021, 08:40:33PM]:
> Dear Maintainer,
>
> unfortunately the bug is not yet fully fixed.

Well, I used your test vectors for the unit tests and considered it
done. :-)

> These do work now as expected:
>     BindAddress=::                   -> binds to [::]:3142
>     BindAddress=:::1                 -> throws an "invalid address" error
>     BindAddress=[::]:1               -> binds to [::]:1
>     BindAddress=1::                  -> binds to [1::]:3142
>     BindAddress=::1                  -> binds to [::1]:3142
>     BindAddress=[1::1]               -> binds to [1::1]:3142
>     BindAddress=[1:2:3:4:5:6:7:8]    -> binds to [1:2:3:4:5:6:7:8]:3142
>     BindAddress=[1:2::7:8]           -> binds to [1:2::7:8]:3142
>     BindAddress=[1:2:3:4:5:6:7:::8]  -> throws an "invalid address" error
>     BindAddress=[1:2:3:4:5:6:7:8:9]  -> throws an "invalid address" error

We will see where it fits. This might be fixed in the next major
version, or in the next generation where I considered switching the
whole parser code to a 3rd party lib.

> These still don't work as expected:
>     BindAddress=1::1                 -> binds to nothing, should be 
> [1::1]:3142
>     BindAddress=1:2:3:4:5:6:7:8      -> binds to nothing, should be 
> [1:2:3:4:5:6:7:8]:3142
>     BindAddress=1:2::7:8             -> binds to [1:2::7]:8 but should be 
> [1:2::7:8]:3142
>     BindAddress=1:2:3:4:5:6:7:::8    -> binds to [1:2:3:4:5:6:7::]:8 but 
> should throw an "invalid address" error
>     BindAddress=1:2:3:4:5:6:7:8:9    -> binds to [1:2:3:4:5:6:7:8]:9 but 
> should throw an "invalid address" error

Best regards,
Eduard.

Reply via email to