forked from cubefs/cubefs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rpc): a custom readCloser is used as request.body to count the si…
…ze of the request body in previous version,blobstore access upload no metric if there is no context-length in the request header,now the size is counted when read request body Fixes cubefs#2120 Signed-off-by: shuqiang-zheng <[email protected]>
- Loading branch information
1 parent
a4537b5
commit 46d1f78
Showing
3 changed files
with
95 additions
and
19 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
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