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
Rename the non-exposed field "count" to "size" #6048
Conversation
cedba89
to
3a7a4d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
The namecount
is because this variable is used to count the number of byte already read.
At the end of the read, the number of byte read will be the size of the request body.
As it's an incremental thing, the name count
is more appropriated than size
for the captureRequestReader
.
But for the request
type the value is set only one time so the name size
can be more appropriated.
So could to rename size
to count
for the captureRequestReader
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1d40d50
to
5ab3466
Compare
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
5ab3466
to
246e891
Compare
What does this PR do?
This PR renames a variable which name led to believe it contains a count whereas it contains a size.
Motivation
I've lost quite a bit of time while debuging thinking that
crr.count
was wrongly incremented.More
Additional Notes