selfserv and tstclnt should use PR_GetPrefLoopbackAddrInfo
Categories
(NSS :: Libraries, enhancement)
Tracking
(Not tracked)
People
(Reporter: KaiE, Assigned: KaiE)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
See bug 1769293 for the explanation.
selfserv should call PR_GetPrefLoopbackAddrInfo, and look at the returned family, to decide which socket family it should create for listening.
If tstclnt is configured to connect to localhost, it should call PR_GetPrefLoopbackAddrInfo to obtain AddrInfo of the preferred family. It can directly use it for connecting.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Bob, can you please test that this fix (latest patch) works in your environment?
I understand you have systems that fail to run the test suite without this change.
Assignee | ||
Comment 3•2 years ago
•
|
||
https://treeherder.mozilla.org/jobs?repo=nss-try&revision=845806a441293ba2f32830e65db967272469a93c
[edited]
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Bob, could you please help with the follow up work? Are there leaks introduced?
Assignee | ||
Comment 7•2 years ago
|
||
Bob, the needinfo was for comment 2. Did you test?
Comment 8•2 years ago
|
||
The preliminary test worked (https://koji.fedoraproject.org/koji/taskinfo?taskID=87458626 x86_64 only ), the full fedora tests are running now: https://koji.fedoraproject.org/koji/taskinfo?taskID=87484208 . (not clearing need info until the latter tests have completed).
Comment 9•2 years ago
|
||
OK, The build finished on all platforms (including running all.sh tests), so I think we are good.
Description
•