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
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 82/100
antoxa2584x/nfsu2-sw#44 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
codepointerapp/codepointer#231 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
ImageMagick/ImageMagick#9038 ·
维护者通常 1 天内回复