Open Bug 1917573 Opened 2 months ago

Write nodejs test for socks5 proxy

Categories

(Core :: Networking: DNS, task, P2)

task

Tracking

()

People

(Reporter: valentin, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

(In reply to John from bug 1914796 comment #0)

STR

  1. Create new profile
  2. Set in about:preferences -> “Manual proxy configuration” some SOCKS5 proxy (127.0.0.1:9050 for example)
  3. Set about:config -> network.http.speculative-parallel-limit; 0 and network.dns.disablePrefetch; true
  4. Open any site (not loaded before)

We should have a test for this.
It seems we could use the socks5 nodejs library for this test https://github.com/lqqyt2423/node-socks5-server
I think I would prefer us not to vendor the library, but instead have a similar approach to the devtools testing framework
Future enhancements might also apply to H3 with nodejs

You need to log in before you can comment on or make changes to this bug.