I came across a problem in Protocols.HTTP.Session last week. It seems the Session module uses gethostbyname() to perform DNS lookups and then randomly selects one of the returned IP addresses. This can cause problems under 7.7 if the selected IP is an IPv6 address and the host doesn't have IPv6 connectivity.
Rather than rewriting the Session module DNS lookup, I would like to add an optional argument to the gethostbyname() method to allow selection of the types to be returned.
Any thoughts?