Closed Bug 83690 Opened 23 years ago Closed 23 years ago

libxpnet should not call gethostbyname more than once

Categories

(SeaMonkey :: Installer, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: ssu0262, Assigned: slogan)

Details

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
Closed: 23 years ago
Resolution: --- → INVALID
ok...
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.