-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make test.Bridge and packetio.Buffer compatible with net.Conn #58
Conversation
85891c6
to
9c24d40
Compare
Codecov Report
@@ Coverage Diff @@
## master #58 +/- ##
==========================================
+ Coverage 83.01% 84.30% +1.28%
==========================================
Files 19 21 +2
Lines 1590 1727 +137
==========================================
+ Hits 1320 1456 +136
- Misses 181 183 +2
+ Partials 89 88 -1
Continue to review full report at Codecov.
|
9c24d40
to
9129722
Compare
@enobufs please take a look when you have time. |
9129722
to
1e6134f
Compare
Merging for now to proceed pion/dtls#226. |
Test bridgeConn by nettest.TestConn. Move github.com/pion/dtls/pkg/net/deadline to this package to implement full Read/WriteDeadline.
Support read timeout.
1e6134f
to
bbcc688
Compare
Great feature! Sorry for late! |
Part of #57
Related to pion/dtls#208
dtls.Conn
now supportsSetRead/WriteDeadline
if underlyingConn
supports them.I would also like to move
webrtc/internal/mux
, which internally usepacketio.Buffer
, to this package and add support ofSetRead/WriteDeadline
.deadline
package is temporary duplicated withdtls
package. I thinkpion/transport
is a better place fordeadline
package.