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

Crc32 #362

Merged
merged 2 commits into from
Jul 1, 2020
Merged

Crc32 #362

merged 2 commits into from
Jul 1, 2020

Conversation

JemyCheung
Copy link

修复crc32指定值无效
修复checkCrc指定无效
统一checkCrc类型

JemyCheung added 2 commits July 1, 2020 09:51
@bachue bachue merged commit 2d7867d into qiniu:master Jul 1, 2020
@forrest-mao forrest-mao linked an issue Jul 17, 2020 that may be closed by this pull request
@@ -26,7 +26,7 @@ function PutExtra (fname, params, mimeType, crc32, checkCrc) {
this.params = params || {};
this.mimeType = mimeType || null;
this.crc32 = crc32 || null;
this.checkCrc = checkCrc || 1;
this.checkCrc = checkCrc || true;
Copy link
Author

Choose a reason for hiding this comment

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

这里改为this.checkCrc = checkCrc || false就行了,否则是强制checkCrc=true。

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.

checkCrc 不能关闭
2 participants