Skip to content

Handle nil pointer error caused by empty bitfield message #261

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

Merged
merged 3 commits into from
Jun 5, 2020

Conversation

yiranwang52
Copy link
Collaborator

Fix #259

@codecov
Copy link

codecov bot commented Jun 5, 2020

Codecov Report

Merging #261 into master will increase coverage by 0.12%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
+ Coverage   66.08%   66.20%   +0.12%     
==========================================
  Files         184      184              
  Lines        9098     9101       +3     
==========================================
+ Hits         6012     6025      +13     
+ Misses       2323     2316       -7     
+ Partials      763      760       -3     
Impacted Files Coverage Δ
lib/torrent/scheduler/conn/handshaker.go 69.93% <77.77%> (+3.06%) ⬆️
lib/torrent/storage/agentstorage/torrent.go 65.35% <0.00%> (+0.78%) ⬆️
lib/torrent/scheduler/events.go 72.59% <0.00%> (+1.44%) ⬆️
lib/torrent/storage/agentstorage/pieces.go 86.56% <0.00%> (+2.98%) ⬆️

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 d8d5afb...5c4a1ff. Read the comment docs.

@yiranwang52 yiranwang52 merged commit 909c605 into master Jun 5, 2020
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.

malformed packet received on agent peer-port crashes agent
2 participants