simon-svn: agedu: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Jan 26 19:38:56 GMT 2014


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10126
Date:           2014-01-26 19:38:56 +0000 (Sun, 26 Jan 2014)

Log message (9 lines):
Fix handling of IPv6 address literals.

--address=[::1] and --address=[::1]:8000 now both work (previously
they failed because the square brackets were passed through to
getaddrinfo which would get confused by them), and the square brackets
are reinstated when displaying the server URL. Also, multiple
unprotected colons in the --address argument (most likely indicating
an unbracketed IPv6 literal) are diagnosed as an error rather than
quietly doing something really weird.

Modified files:
U   agedu/agedu.c
U   agedu/httpd.c

Links:
http://svn.tartarus.org/sgt/?rev=10126&view=rev
http://svn.tartarus.org/sgt/agedu/agedu.c?rev=10126&r1=10125&r2=10126
http://svn.tartarus.org/sgt/agedu/httpd.c?rev=10126&r1=10125&r2=10126



More information about the tartarus-commits mailing list