-
Notifications
You must be signed in to change notification settings - Fork 576
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
fix: should consume the response stream on error #503
Conversation
@@ -264,6 +267,12 @@ proto.createRequest = function createRequest(params) { | |||
customResponse: params.customResponse, | |||
ctx: params.ctx || this.ctx, | |||
}; | |||
if (this.agent) { |
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.
需要在文档中暴露出去么?还是暂时作为私有参数
Codecov Report
@@ Coverage Diff @@
## master #503 +/- ##
=======================================
Coverage 96.22% 96.22%
=======================================
Files 3 3
Lines 106 106
Branches 30 30
=======================================
Hits 102 102
Misses 4 4 Continue to review full report at Codecov.
|
38cad2b
to
ad5d128
Compare
backport to 5.x #504 |
No description provided.