Fix Handler Leak - #522
Conversation
The committers listed above are authorized under a signed CLA. |
|
Welcome @stasos24! |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Jefftree, stasos24 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| return false | ||
| } | ||
|
|
||
| rr.Body.Close() |
There was a problem hiding this comment.
thanks for the leak fix... it looks like IsValidURI is unused in this repo or in kubernetes/kubernetes, and I don't think we actually want code paths that can be triggered to make network requests from here ... I'm wondering if we should delete IsValidURI entirely
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
|
@k8s-triage-robot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Original source code:
kube-openapi/pkg/validation/spec/ref.go
Lines 70 to 77 in 2c72e55
Fixed Handler leaking before return