HttpClient is not created and managed with IHttpClientFactory
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs の 89 行目から始め、周辺のクライアント構築とその呼び出し元を確認してください。その構成を、リンクされている Microsoft の IHttpClientFactory に関するガイダンスと比較してください。完了条件は、クライアントが手動ではなく factory を通じて作成・管理されることです。
索引モデルが issue の本文から書いたものです。
説明
MS article on why you should not be managing your HttpClient manually and instead use IHttpClientFactory. See here for line that should be updated.
Important tidbits here:
"Another issue that developers run into is when using a shared instance of HttpClient in long-running processes. In a situation where the HttpClient is instantiated as a singleton or a static object, it fails to handle the DNS changes as described in this issue of the dotnet/runtime GitHub repository."
"Though this class implements IDisposable, declaring and instantiating it within a using statement is not preferred because when the HttpClient object gets disposed of, the underlying socket is not immediately released, which can lead to a socket exhaustion problem. For more information about this issue, see the blog post You're using HttpClient wrong and it's destabilizing your software."
- 主要言語
- C#
- スター
- 20
- フォーク
- 17
- 平均マージ
- 21時間 47分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Flagsmith/flagsmith-dotnet-client のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
Flagsmith/flagsmith-dotnet-client#197 ·
メンテナーはふだん 1 日以内に返信
-
Dependency Dashboardオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Flagsmith/flagsmith-dotnet-client#194 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
Flagsmith/flagsmith-dotnet-client#191 ·
メンテナーはふだん 1 日以内に返信
-
Local evaluation silently drops identity overrides on large environments対応中かも @marc-merino が 38 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
Flagsmith/flagsmith-dotnet-client#187 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
Flagsmith/flagsmith-dotnet-client#180 ·
メンテナーはふだん 1 日以内に返信
Flagsmith/flagsmith-dotnet-client の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
a-corriger documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
christian-raj/S-Aloha#312 ·
-
ready-for-agent tech-debt
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
DigiBanks99/menlo#640 ·
メンテナーはふだん 1 日以内に返信
-
ci
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
メンテナーはふだん 3 日以内に返信