Have broker pass client NAT type to proxy

This will allow browser-based proxies that are unable to determine their
NAT type to conservatively label themselves as restricted NATs if they
fail to work with clients that have restricted NATs.
This commit is contained in:
Cecylia Bocovich 2020-06-22 14:04:29 -04:00
parent 0052c0e10c
commit 046dab865f
7 changed files with 61 additions and 42 deletions

View file

@ -11,7 +11,7 @@ over the offer and answer channels.
type Snowflake struct {
id string
proxyType string
offerChannel chan []byte
offerChannel chan *ClientOffer
answerChannel chan []byte
clients int
index int