mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
defer snowflake.Reset to fix handler recovery when localhost SOCKS occassionally fails first
This commit is contained in:
parent
0ae71952d2
commit
ea2e052a7d
5 changed files with 17 additions and 14 deletions
|
@ -184,11 +184,11 @@ func TestSnowflakeClient(t *testing.T) {
|
|||
})
|
||||
|
||||
Convey("WebRTC Connection", func() {
|
||||
c := NewWebRTCConnection(nil, nil)
|
||||
c := NewWebRTCPeer(nil, nil)
|
||||
So(c.buffer.Bytes(), ShouldEqual, nil)
|
||||
|
||||
Convey("Can construct a WebRTCConn", func() {
|
||||
s := NewWebRTCConnection(nil, nil)
|
||||
s := NewWebRTCPeer(nil, nil)
|
||||
So(s, ShouldNotBeNil)
|
||||
So(s.offerChannel, ShouldNotBeNil)
|
||||
So(s.answerChannel, ShouldNotBeNil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue