mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Update a comment (no signal pipe anymore).
This commit is contained in:
parent
2f52217d2f
commit
65ecb798ca
1 changed files with 2 additions and 2 deletions
|
@ -304,8 +304,8 @@ func (c *WebRTCPeer) sendOfferToBroker() {
|
||||||
c.answerChannel <- answer
|
c.answerChannel <- answer
|
||||||
}
|
}
|
||||||
|
|
||||||
// Block until an SDP offer is available, send it to either
|
// exchangeSDP blocks until an SDP offer is available, sends it to the Broker,
|
||||||
// the Broker or signal pipe, then await for the SDP answer.
|
// then awaits the SDP answer.
|
||||||
func (c *WebRTCPeer) exchangeSDP() error {
|
func (c *WebRTCPeer) exchangeSDP() error {
|
||||||
select {
|
select {
|
||||||
case <-c.offerChannel:
|
case <-c.offerChannel:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue