mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Document relayURL return in SignalingServer.pollOffer.
The second return value was added in
863a8296e8
.
This commit is contained in:
parent
0f0f118827
commit
de61d7bb8d
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ func (s *SignalingServer) Post(path string, payload io.Reader) ([]byte, error) {
|
|||
}
|
||||
|
||||
// pollOffer communicates the proxy's capabilities with broker
|
||||
// and retrieves a compatible SDP offer
|
||||
// and retrieves a compatible SDP offer and relay URL.
|
||||
func (s *SignalingServer) pollOffer(sid string, proxyType string, acceptedRelayPattern string, pollInterval time.Duration, shutdown chan struct{}) (*webrtc.SessionDescription, string) {
|
||||
brokerPath := s.url.ResolveReference(&url.URL{Path: "proxy"})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue