Skip to content

CRYPTO-127: CryptoInputStream#read should handle non-block case#72

Closed
kexianda wants to merge 1 commit intoapache:masterfrom
kexianda:inputstream
Closed

CRYPTO-127: CryptoInputStream#read should handle non-block case#72
kexianda wants to merge 1 commit intoapache:masterfrom
kexianda:inputstream

Conversation

@kexianda
Copy link
Copy Markdown
Contributor

@kexianda kexianda commented Nov 2, 2016

No description provided.

nd = decryptMore();
}
if (nd < 0) {
return nd;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if we want to change to loop here, the return value should also be updated.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@sundapeng
Hmm..., it seems OK now.
It's would be better if we add some testcases in future

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, I think it should be okay, I misunderstood it.

@sundapeng
Copy link
Copy Markdown
Member

sundapeng commented Nov 7, 2016

Thank Xianda for the contribution, I have only one comment.

@sundapeng
Copy link
Copy Markdown
Member

+1

@asfgit asfgit closed this in a760177 Nov 14, 2016
@sundapeng
Copy link
Copy Markdown
Member

Thank @kexianda

asfgit pushed a commit that referenced this pull request Nov 21, 2016
Closes #72 from jianguotian/CRYPTO-129
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