forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Record chunked response size before sending last chunk (elastic#102586)
We expect that the HTTP response stats should reflect the responses received by the client, but today we record that a chunked-encoded response was sent _after_ sending the last chunk, which might mean that the client can receive the complete response body and then retrieve stats that do not include that response. With this commit we record the stats before sending the last chunk. Closes elastic#102547
- Loading branch information
1 parent
ea027aa
commit 682fca9
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters