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

fix crash when the qlog callbacks returns a nil io.WriteCloser #2648

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Jul 6, 2020

This bug was introduced in #2638.

The qlog callback returning nil could actually be quite common in practice, if a deployment is only qlogging a fraction of QUIC connections.

@codecov
Copy link

codecov bot commented Jul 6, 2020

Codecov Report

Merging #2648 into master will increase coverage by 0.05%.
The diff coverage is 71.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2648      +/-   ##
==========================================
+ Coverage   86.37%   86.42%   +0.05%     
==========================================
  Files         122      122              
  Lines        9757     9761       +4     
==========================================
+ Hits         8427     8435       +8     
+ Misses        995      990       -5     
- Partials      335      336       +1     
Impacted Files Coverage Δ
qlog/qlog.go 95.37% <71.43%> (+1.64%) ⬆️

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 d4720e4...6dcc885. Read the comment docs.

@marten-seemann marten-seemann merged commit 37b0724 into master Jul 7, 2020
@marten-seemann marten-seemann deleted the fix-qlog-nil-writecloser branch July 8, 2020 05:06
@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