localAddress with family option
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 63.2k
- Forks
- 10.3k
- Avg merge
- 11d 20h
- Merged PRs (30d)
- 2
Description
Note: for support questions, please use one of these channels: stackoverflow or slack
You want to:
- report a bug
- request a feature
Current behaviour
Using localAddress has no effect on ipv6
Steps to reproduce (if the current behaviour is a bug)
use localAddress with ipv6
Expected behaviour
Setup
- OS: Ubuntu 18.4
- browser: node.js
- engine.io version: 3.4.0
Other information (e.g. stacktraces, related issues, suggestions how to fix)
i haven't tested with ws protocol but looking at the code base it accepts all http & https options
xmlhttprequest-ssl does not include localAddress and family so a pull request would be needed to add the two otions in order to make it work and possibly make it node.js only?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to the HTTP and HTTPS option paths and the xmlhttprequest-ssl dependency, which lacks localAddress and family support. Inspect those paths and compare them with the ws protocol handling, then reproduce the IPv6 case on Ubuntu. Done means localAddress works for IPv6 where supported and the Node.js-only scope is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100