In message <[EMAIL PROTECTED]> on Tue, 05 Oct 2004 06:31:43 -0700, Gianni Mariani <[EMAIL PROTECTED]> said:
gianni> Richard Levitte - VMS Whacker wrote: gianni> gianni> >hyc> It would be best to avoid any non-standard formats... gianni> > gianni> >Thanks! Decision made (and I'll extend it a bit to allow "[" and "]" gianni> >around IPv4 addresses and host names as well, mostly because I'm gianni> >lazy). gianni> > gianni> > gianni> gianni> If I think hard enough, I could probably think of ways that gianni> this would break things. Well, let's see, we have two places where this is relevant. One is the simple {host}:{port} combination, the other is the URL http://{host}:{port}/... In both cases, the brackets be part of the {host} part. Brackets can't be part of a IP address or a host name (at least as far as I know), so I'm not really sure what would break. gianni> I think this is one of those cases where you want to stick to gianni> the standard exactly and not allow any non-standard behaviour. That makes things tougher, because I had planned on letting getaddrinfo() take care of all the correctness verification. With what you ask for, we get back at having to do it ourselves, which is duplication of functionality (and potentially getting it wrong), which I don't see the benefits of. Cheers, Richard ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]