A single interface that can work with multiple protocols, and multiple transforms of those protocols (eg, security layer)
104
stars
28
forks
source link
Stringify may be returning the wrong address for net and ws #47
Closed
christianbundy closed 5 years ago
See: https://github.com/ssbc/patchwork/issues/1035
We have a scenario where
config.connections.incoming
is specifying the correct IP addresses but it looks like this code is still falling back to multiserver-scopes (i.e. non-private-ip) in the local scope: https://github.com/ssbc/multiserver/blob/1fefc75e2423e00270f5f0d46fec3b485776d7fb/plugins/net.js#L92I'd imagine that this is a bug or maybe I'm completely misunderstanding what this is supposed to do? For example, my config:
But over the network I see:
Replacing the semicolons with newlines (I'd love if this was the default):
Maybe relevant: https://github.com/ssbc/multiserver/issues/22
cc: @dominictarr @arj03 @regular @cryptix