Closed Bug 65271 Opened 24 years ago Closed 8 years ago

IPv6: socket transport needs IsIP6Socket() function

Categories

(Core :: Networking, defect, P3)

x86
Windows 2000
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: dougt, Unassigned)

References

(Blocks 1 open bug)

Details

FTP needs to know if the underlying socket is ip6 or ip4.  It must do the following:


        if (NS_SUCCEEDED(rv)) {
            PRNetAddr addr;
            if (PR_StringToNetAddr(mIPv6ServerAddress, &addr) != PR_SUCCESS ||
                PR_IsNetAddrType(&addr, PR_IpAddrV4Mapped)) {
                nsMemory::Free(mIPv6ServerAddress);
                mIPv6ServerAddress = 0;
            }
            PR_ASSERT(!mIPv6ServerAddress || addr.raw.family == PR_AF_INET6);
        }
    }


The nsISocketTransport should do this for us so that we can hide this nspr stuff.
Adding dependency to meta bug 61696
Blocks: 61696
Keywords: nsbeta1
Target Milestone: --- → mozilla0.9.1
qa to me.
expanded summary for searchability.
QA Contact: tever → benc
Summary: socket transport needs IsIP6Socket() function → IPv6: socket transport needs IsIP6Socket() function
can wait till 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Priority: -- → P3
this can wait til 1.0 too.
Target Milestone: mozilla0.9.3 → mozilla1.0
Blocks: 104166
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Target Milestone: mozilla1.0.1 → Future
Blocks: IPv6
moving neeti's futured bugs for triaging.
Assignee: neeti → new-network-bugs
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.