-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find and listen on all available networks (#105)
This was motivated by npm being unable to proxy through alpaca via npm set config http://localhost:3128 since node 17+ favours IPv6, whereas Go's net.Listen favours IPv4 when a hostname is supplied. This PR performs a hostname lookup and detects the networks (tcp4/tcp6) for all returned IPs.
- Loading branch information
1 parent
fbbad0d
commit 54ebbda
Showing
4 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ James Moriarty <[email protected]> | |
Julia Ogris <[email protected]> | ||
Keilin Olsen <[email protected]> | ||
Keith Ferguson <[email protected]> | ||
Marcelo Cantos <[email protected]> | ||
Sam Uong <[email protected]> | ||
Seng Ern Gan <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters