Closed sanmai-NL closed 7 years ago
darkhttpd --addr='::1' --ipv6 --port 8080
is accepted but results in incorrect behavior, listening on [::]
.
darkhttpd/1.12, copyright (c) 2003-2016 Emil Mikulic.
listening on: http://[::]:8080/
All right,
darkhttpd . --addr ::1 --ipv6 --port 8080
works. Command line parsing could be made a lot more robust.
Actual
Expected
Darkhttpd listens on IPv6 loopback address.
Apparently the --ipv6 option isn't being parsed correctly.
strace
output: