Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@i110
Copy link
Contributor

@i110 i110 commented Jan 28, 2020

Follow up of #2197

As #2197 (comment) stated, sock->bytes_read was contradicting to the API comment: it was delta from previous callback invocation, not total value. This PR makes it be real total size of bytes the socket ever read.

Copy link
Member

@kazuho kazuho left a comment

Choose a reason for hiding this comment

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

Thank you for working on the fix. LGTM modulo the point below.

Copy link
Member

@kazuho kazuho left a comment

Choose a reason for hiding this comment

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

LGTM Please merge once CI succeeds.

@i110 i110 merged commit 67232a5 into master Jan 28, 2020
@i110 i110 deleted the i110/bytes-read-cumulative branch January 28, 2020 22:54
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