Closed
Bug 211596
Opened 22 years ago
Closed 3 years ago
Hostname resolution not working with mozilla 1.4 on HP-UX 11i
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bugzilla-mozilla, Unassigned)
Details
Attachments
(1 obsolete file)
User-Agent: Mozilla/4.7 (X11; Linux)
Build Identifier: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.4) Gecko/20030703
I've built Mozilla 1.4 on HP-UX 11i with aCC A.03.45. When I start
mozilla, I cannot resolve any symbolic hostnames. URLs with an IP
address work fine. HP-UX 11.00 works fine.
Reproducible: Always
Steps to Reproduce:
1. mozilla http://www.mozilla.org
2.
3.
Actual Results:
Error window pops up that hostname cannot be found.
| Reporter | ||
Updated•22 years ago
|
OS: other → HP-UX
Comment 1•22 years ago
|
||
Changing typo in summary to say "not" instead of "now".
Summary: Hostname resolution now working with 1.4 on HP-UX 11i. → Hostname resolution not working with 1.4 on HP-UX 11i
| Reporter | ||
Comment 2•22 years ago
|
||
Testing a build with --enable-ipv6=no. This will probably fix the problem.
| Reporter | ||
Comment 3•22 years ago
|
||
Yep, --enable-ipv6=no fixed it. wtc@netscape.com made USE_IPV6=1 the default for
HP-UX 11i in nsprpub/configure.in. I've emailed him about his change:
revision 1.137
date: 2003/02/26 02:00:29; author: wtc%netscape.com; state: Exp; lines: +12 -3
Bug 193380: added IPv6 support on HP-UX 11i or later. Cleaned up the
detection of HP-UX B.11.* in configure.in.
Modified Files: configure.in configure _hpux.h
Comment 4•22 years ago
|
||
wtc: this looks like it is turning out to be a NSPR bug... want to take it?
Comment 5•22 years ago
|
||
Changed the product to NSPR.
Assignee: darin → wtc
Status: UNCONFIRMED → NEW
Component: Networking: HTTP → NSPR
Ever confirmed: true
Product: Browser → NSPR
QA Contact: httpqa → wtc
Version: Trunk → 4.3
Comment 6•22 years ago
|
||
Could you apply this patch to the Mozilla 1.4
source tree and see if it works? Thanks.
I'd also appreciate it if you could compile and
run the following simple test on your HP-UX 11i
system.
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
int main()
{
int fd;
fd = open("/dev/ip6", O_RDWR);
if (fd == -1) {
printf("no IPv6\n");
} else {
printf("has IPv6\n");
}
fd = socket(AF_INET6, SOCK_STREAM, 0);
if (fd == -1) {
printf("cannot create AF_INET6 socket\n");
} else {
printf("can create AF_INET6 socket\n");
}
return 0;
}
| Reporter | ||
Comment 7•22 years ago
|
||
Output of your test program:
no IPv6
cannot create AF_INET6 socket
I'll test the patch later today.
Comment 8•22 years ago
|
||
Comment on attachment 127326 [details] [diff] [review]
Patch for Mozilla 1.4
Thank you. Given the output of my test program,
this patch won't make a difference. So I am
marking it obsolete.
Attachment #127326 -
Attachment is obsolete: true
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → 4.6
Updated•20 years ago
|
Severity: normal → major
Comment 9•20 years ago
|
||
I'm not sure what's the right solution.
getipnodebyname doesn't exist in all HP-UX 11i
systems, and where it exists, I seem to recall
it is broken. Because of this problem, we
build NSPR with --disable-ipv6 on HP-UX 11i
for the Netscape (now Red Hat) servers.
getipnodebyname is deprecated now.
NSPR uses getipnodebyname in PR_GetIPNodeByName.
Mozilla no longer uses PR_GetIPNodeByName.
Is it okay if I disable IPv6 support on HP-UX 11i
by default? I made --enable-ipv6 the default on
HP-UX 11i at the request of Sun in bug 193380.
Comment 10•20 years ago
|
||
Wan-Teh, is it correct to say that this is no longer an issue for mozilla
browsers on HPUX 11i (even if they are built with IPv6 enabled) because
they no longer use PR_GetIPNodeByName, and hence this is only potentially
an issue for other programs that may continue to expect PR_GetIPNodeByName
to work on HPUX 11i ?
Comment 11•20 years ago
|
||
Nelson, that's probably right. Mozilla switched to
PR_GetAddrInfoByName around 2003-09-11 (see bug 211501),
after this file was filed.
Comment 12•20 years ago
|
||
Nelson, could this be the problem you were debugging this afternoon?
Updated•19 years ago
|
QA Contact: wtchang → nspr
Updated•19 years ago
|
Hardware: Other → HP
Updated•19 years ago
|
Summary: Hostname resolution not working with 1.4 on HP-UX 11i → Hostname resolution not working with mozilla 1.4 on HP-UX 11i
Comment 13•18 years ago
|
||
The target milestone is already released. Resetting target milestone.
Target Milestone: 4.6 → ---
Comment 14•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months and this bug has severity 'major'.
:KaiE, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: wtc → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(kaie)
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(kaie)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•