Closed
Bug 83690
Opened 24 years ago
Closed 24 years ago
libxpnet should not call gethostbyname more than once
Categories
(SeaMonkey :: Installer, defect)
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.
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: 24 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•