Open Bug 895969 Opened 11 years ago Updated 2 years ago

API to retrieve nsServerSocket that listens on unbanned port

Categories

(Core :: Networking, defect, P5)

defect

Tracking

()

People

(Reporter: gps, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

+++ This bug was initially created as a clone of Bug #895542 +++

If you let nsServerSocket select a port for you, it may automatically use a "banned" port from the perspective of necko clients. This is not good for tests, since it will result in intermittent failures.

In bug 895542, we patched httpd.js to keep fetching nsServerSocket instances until one with an unbanned port is obtained. We all agreed this was somewhat hacky and having a lower-level API on nsServerSocket to do the same was a better solution. This bug tracks that feature request.
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.