diff --git a/bencode/decode_test.go b/bencode/decode_test.go index eaf9e71e..d06da8d3 100644 --- a/bencode/decode_test.go +++ b/bencode/decode_test.go @@ -213,7 +213,6 @@ func decodeHugeString(t *testing.T, strLen int64, header, tail string, v interfa d := NewDecoder(r) d.MaxStrLen = maxStrLen return d.Decode(v) - } // Ensure that bencode strings in various places obey the Decoder.MaxStrLen field. diff --git a/webrtc.go b/webrtc.go index 44ef6ca2..c217a510 100644 --- a/webrtc.go +++ b/webrtc.go @@ -60,9 +60,11 @@ func (me webrtcNetConn) RemoteAddr() net.Addr { func (w webrtcNetConn) SetDeadline(t time.Time) error { return nil } + func (w webrtcNetConn) SetReadDeadline(t time.Time) error { return nil } + func (w webrtcNetConn) SetWriteDeadline(t time.Time) error { return nil }