Skip to content
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

introduce an assertion in the server #2637

Merged
merged 1 commit into from
Jul 1, 2020
Merged

Conversation

marten-seemann
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Jun 29, 2020

Codecov Report

Merging #2637 into master will increase coverage by 0.10%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2637      +/-   ##
==========================================
+ Coverage   86.29%   86.39%   +0.10%     
==========================================
  Files         121      121              
  Lines        9775    10118     +343     
==========================================
+ Hits         8435     8741     +306     
- Misses        998     1027      +29     
- Partials      342      350       +8     
Impacted Files Coverage Δ
server.go 84.32% <0.00%> (+0.30%) ⬆️
internal/wire/transport_parameters.go 92.15% <0.00%> (+2.34%) ⬆️
internal/handshake/qtls.go 92.36% <0.00%> (+2.64%) ⬆️
http3/request_writer.go 67.26% <0.00%> (+3.69%) ⬆️
internal/handshake/crypto_setup.go 71.64% <0.00%> (+5.11%) ⬆️
internal/handshake/unsafe.go 66.67% <0.00%> (+6.67%) ⬆️

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 f926945...7bcb25f. Read the comment docs.

server.go Outdated
@@ -322,7 +322,7 @@ func (s *baseServer) handlePacketImpl(p *receivedPacket) bool /* should the buff
}
// Short header packets should never end up here in the first place
if !hdr.IsLongHeader {
return false
panic("misrouted packet")
Copy link
Member

Choose a reason for hiding this comment

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

Do we want a few more debug details?

@marten-seemann marten-seemann merged commit 0ea5814 into master Jul 1, 2020
@marten-seemann marten-seemann deleted the server-assertion branch July 1, 2020 08:30
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants