-
Notifications
You must be signed in to change notification settings - Fork 868
expose bytes_written information of httpclient #2080
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
Conversation
bec3b4f to
1a56bd3
Compare
kazuho
left a comment
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.
Thank you for the PR. Looks fine modulo the points below.
kazuho
left a comment
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.
Nitpicks.
kazuho
left a comment
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.
Thank you for the changes. Please merge once the CI succeeds.
The user of httpclient occasionally wants to know how much the actually bytes written (for header, body and total) to the upstream. This PR expose that information.
Regarding http2client, it is controversial that what size should be exposed via this API. Is summation of actual written size of HEADERS or DATA frame, including frame headers?NOTE: I decided to implement the same feature on http2client, when it is actually needed by someone :)
- [ ] http2client