libxpnet currently calls gethostbyname twice. this is not necessary and could potentially take a longer time to resolve a host name. The code should also not call gethostbyname for ip addresses, since it is not documented to be supported by gethostbyname. Also, the pointer returned by gethostbyname is currently not being freed.
not necessary for mozilla0.9.1
I just looked at the code more closely. It is necessary to do more than one call to gethostbyname() because each call to it is being done when a new socket is created. this is correct behavior. Marking this bug invalid.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.