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

Fixes #6105 - HttpConnection.getBytesIn() incorrect for requests with… #6108

Merged
merged 2 commits into from Apr 8, 2021

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Mar 26, 2021

… chunked content

Moved recording of bytes to fillRequestBuffer(),
so they are accounted also for async reads.
Added test case.

Signed-off-by: Simone Bordet simone.bordet@gmail.com

… chunked content

Moved recording of bytes to fillRequestBuffer(),
so they are accounted also for async reads.
Added test case.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested a review from gregw March 26, 2021 11:20
@sbordet sbordet added this to To do in Jetty 9.4.40 via automation Mar 26, 2021
… chunked content

Fixed test that was too strictly comparing HttpConnection.bytesIn,
that now report a correct, but larger value.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Jetty 9.4.40 automation moved this from To do to Review Pending Mar 29, 2021
@sbordet sbordet requested a review from gregw March 30, 2021 14:26
Jetty 9.4.40 automation moved this from Review Pending to Reviewed Mar 31, 2021
@sbordet sbordet merged commit aed20ab into jetty-9.4.x Apr 8, 2021
Jetty 9.4.40 automation moved this from Reviewed to Done Apr 8, 2021
@sbordet sbordet deleted the jetty-9.4.x-6105-httpconnection_bytes_in branch April 8, 2021 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

HttpConnection.getBytesIn() incorrect for requests with chunked content
2 participants