Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Update udp #279

Merged
merged 5 commits into from Jun 6, 2020
Merged

Update udp #279

merged 5 commits into from Jun 6, 2020

Conversation

adwpc
Copy link
Collaborator

@adwpc adwpc commented Jun 4, 2020

Description

update udp

code form dtls
concurrently read and accept UDP packet
some other update commits

adwpc and others added 2 commits June 2, 2020 09:15
@adwpc adwpc requested review from tarrencev and jbrady42 June 4, 2020 16:27
Code from dtls
@codecov
Copy link

codecov bot commented Jun 4, 2020

Codecov Report

Merging #279 into master will decrease coverage by 1.53%.
The diff coverage is 60.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   25.67%   24.14%   -1.54%     
==========================================
  Files          38       38              
  Lines        2968     2978      +10     
==========================================
- Hits          762      719      -43     
- Misses       2074     2123      +49     
- Partials      132      136       +4     
Flag Coverage Δ
#go 24.14% <60.46%> (-1.54%) ⬇️
Impacted Files Coverage Δ
pkg/rtc/rtpengine/engine.go 48.00% <ø> (ø)
pkg/rtc/rtpengine/udp/conn.go 42.85% <60.46%> (-35.84%) ⬇️
pkg/rtc/rtpengine/muxrtp/mux/mux.go 56.66% <0.00%> (-5.00%) ⬇️
pkg/rtc/transport/rtptransport.go 34.95% <0.00%> (-0.32%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9d357a...1614a79. Read the comment docs.

L_CLOSE:
for {
select {
case c := <-l.acceptCh:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the point of the select and break to label here instead of just waiting on the channel read?

@@ -356,8 +356,8 @@ github.com/xtaci/lossyconn v0.0.0-20200209145036-adba10fffc37/go.mod h1:HpMP7DB2
github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=
go.etcd.io/bbolt v1.3.2 h1:Z/90sZLPOeCy2PwprqkFa25PdkusRzaj9P8zm/KNyvk=
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.etcd.io/etcd v3.3.4+incompatible h1:XtjpOPpV0r9nDCHbfY+DbscPUj2dFSg3yu2HDHWkj/M=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I downgraded to avoid this issue: etcd-io/etcd#11931

I think if we can upgrade to v3.4 then it is solved

@adwpc adwpc merged commit 118f11b into master Jun 6, 2020
@tarrencev tarrencev deleted the update-udp branch June 8, 2020 21:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants