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 小時
- 30 天內合併 PR
- 10
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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 一週以上 新手友好度 35/100
microsoft/cpp_client_telemetry#1542 · 3 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
難度 5/5 一週以上 新手友好度 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
-
難度 1/5 1 小時以內 新手友好度 72/100
AFLplusplus/AFLplusplus#2903 ·
-
category:port-update
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 90/100
colbymchenry/codegraph#2634 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
-
難度 2/5 1-3 小時 新手友好度 77/100
維護者通常 8 天內回覆