Closed Bug 1769295 Opened 3 years ago Closed 3 years ago

selfserv and tstclnt should use PR_GetPrefLoopbackAddrInfo

Categories

(NSS :: Libraries, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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: nobody → kaie

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.

Flags: needinfo?(rrelyea)
Target Milestone: --- → 3.79

Bob, could you please help with the follow up work? Are there leaks introduced?

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Regressions: 1769711

clearing need info

Flags: needinfo?(rrelyea)

Bob, the needinfo was for comment 2. Did you test?

Flags: needinfo?(rrelyea)

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).

OK, The build finished on all platforms (including running all.sh tests), so I think we are good.

Flags: needinfo?(rrelyea)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: