PauseTransmission and asynchronous HTTPS
メンテナーはふだん 2 日以内に返信
@larvacea がすでに取り組んでいます。
2020年12月21日 から。
評価
この issue はまだ評価されていません。
説明
The present behavior of PauseTransmission (and FlushAndTeardown) prevents the SDK from starting new HTTPS requests, though since uploads start asynchronously the exact point at which the pause takes effect is undefined.
As a result, we may get callbacks from an outstanding HTTP request some considerable (unbounded) time after the call to PauseTransmission. I would like to amend the API so that:
- we can explicitly ask that the SDK discard responses that arrive while we are paused. This is also useful for FlushAndTeardown, where a response could arrive after we have freed heap that we would have accessed while processing the callback.
- we can get a promise (or similar structure) to inform us when the pause is complete and no new responses will arrive.
- we can abort pending requests if the HttpClient implementation supports abort.
I'm not an iOS expert, but we have seen watchdog SIGKILL in iOS around background execution and suspend. iOS expects that an application in the background will cooperate with the operating system to schedule its execution and minimize activity that would consume battery life.
- 主要言語
- C
- スター
- 104
- フォーク
- 67
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/cpp_client_telemetry のほかの issue
-
C API enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/cpp_client_telemetry#628 ·
メンテナーはふだん 2 日以内に返信
-
OneDS C++ SDK retries already-ingested iOS events, causing duplicate telemetry records対応中かも @bmehta001 が 17 日前に担当しました。 オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/cpp_client_telemetry#1542 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/cpp_client_telemetry#1504 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/cpp_client_telemetry#1413 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
microsoft/cpp_client_telemetry#1387 ·
メンテナーはふだん 2 日以内に返信
microsoft/cpp_client_telemetry の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
AFLplusplus/AFLplusplus#2903 ·
-
Clean up stale and inaccurate comments in the platform screen and input files対応中かも @RichStephens が今日担当しました。 オープン
難易度 2/5 半日 初心者へのやさしさ 88/100
FujiNetWIFI/fujinet-config#289 ·
メンテナーはふだん 1 日以内に返信
-
category:port-update
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
nasa/cFS-GroundSystem#272 ·