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

Throw an exception if chunk length mismatches #632

Merged
merged 1 commit into from
Feb 1, 2019
Merged

Throw an exception if chunk length mismatches #632

merged 1 commit into from
Feb 1, 2019

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented Feb 1, 2019

Sometimes chunk downloading throws "The input data is not a complete block." and I think this check should prevent that.

Copy link
Member

@voided voided left a comment

Choose a reason for hiding this comment

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

Change looks good to me (and also has @azuisleet's blessing).

Only thing I'd suggest is documenting this new exception in the xmldocs.

@codecov-io
Copy link

codecov-io commented Feb 1, 2019

Codecov Report

Merging #632 into master will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #632      +/-   ##
=========================================
+ Coverage    23.6%   23.6%   +<.01%     
=========================================
  Files          85      85              
  Lines        8714    8713       -1     
  Branches      719     719              
=========================================
  Hits         2057    2057              
+ Misses       6526    6525       -1     
  Partials      131     131
Impacted Files Coverage Δ
SteamKit2/SteamKit2/Steam/CDNClient.cs 0% <0%> (ø) ⬆️

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 c607d39...9b288da. Read the comment docs.

@voided voided closed this Feb 1, 2019
@voided voided reopened this Feb 1, 2019
@voided voided merged commit 7ee7702 into SteamRE:master Feb 1, 2019
@xPaw xPaw deleted the patch-1 branch February 1, 2019 21:10
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.

3 participants