mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
remove dead code
This commit is contained in:
parent
1d1882b59d
commit
03b1a0d1f1
2 changed files with 0 additions and 5 deletions
|
@ -95,15 +95,11 @@ func TestConnect(t *testing.T) {
|
||||||
c.config = webrtc.NewConfiguration()
|
c.config = webrtc.NewConfiguration()
|
||||||
c.preparePeerConnection()
|
c.preparePeerConnection()
|
||||||
|
|
||||||
// offer := webrtc.DeserializeSessionDescription(
|
|
||||||
// `{"type":"offer","sdp":"test offer"}`)
|
|
||||||
// c.pc.SetLocalDescription(offer)
|
|
||||||
c.offerChannel <- nil
|
c.offerChannel <- nil
|
||||||
answer := webrtc.DeserializeSessionDescription(
|
answer := webrtc.DeserializeSessionDescription(
|
||||||
`{"type":"answer","sdp":""}`)
|
`{"type":"answer","sdp":""}`)
|
||||||
c.answerChannel <- answer
|
c.answerChannel <- answer
|
||||||
c.exchangeSDP()
|
c.exchangeSDP()
|
||||||
// So(c.pc.RemoteDescription(), ShouldEqual, answer)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
SkipConvey("Exchange SDP fails on nil answer", func() {
|
SkipConvey("Exchange SDP fails on nil answer", func() {
|
||||||
|
|
|
@ -20,7 +20,6 @@ type BrokerChannel struct {
|
||||||
// different from the host name in URL).
|
// different from the host name in URL).
|
||||||
Host string
|
Host string
|
||||||
url *url.URL
|
url *url.URL
|
||||||
// transport http.Transport // Used to make all requests.
|
|
||||||
transport http.RoundTripper // Used to make all requests.
|
transport http.RoundTripper // Used to make all requests.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue