jenkinsci / jenkinsci/java-client-api

Potential connection leak

オープン
#453 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
913
フォーク
466
PR マージ指標
30日以内にマージされた PR はありません

説明

https://github.com/jenkinsci/java-client-api/blob/fe2601a77733887a0cdfa4d20d46997765e8e8ca/jenkins-client/src/main/java/com/offbytwo/jenkins/client/JenkinsHttpClient.java#L173

If there is an issue while consuming the entity, it will throw an IOException before the connection is released. I would consider using EntityUtils.consumeQuietly(...) instead to swallow any possible exception and ensure the connection is released.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start at jenkins-client/src/main/java/com/offbytwo/jenkins/client/JenkinsHttpClient.java around line 173 and inspect how the entity is consumed and the connection released. Verify the failure path when entity consumption throws IOException, then use the repository's existing test setup to confirm the connection is released in that case.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。