PauseTransmission and asynchronous HTTPS
Mantenedores costumam responder em até 2 dias
@larvacea já está trabalhando nisso.
Desde 21/12/2020.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- C
- Estrelas
- 104
- Forks
- 67
- Merge médio
- 2d 15h
- PRs com merge (30d)
- 10
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de microsoft/cpp_client_telemetry
-
C API enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
microsoft/cpp_client_telemetry#628 ·
Mantenedores costumam responder em até 2 dias
-
OneDS C++ SDK retries already-ingested iOS events, causing duplicate telemetry recordsTalvez já em andamento @bmehta001 assumiu há 17 dias. Abertabug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
microsoft/cpp_client_telemetry#1542 · 3 comentários · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
microsoft/cpp_client_telemetry#1504 ·
Mantenedores costumam responder em até 2 dias
-
Dropping of telemetry eventsAbertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
microsoft/cpp_client_telemetry#1413 · 2 comentários ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
microsoft/cpp_client_telemetry#1387 ·
Mantenedores costumam responder em até 2 dias
Todas as issues de microsoft/cpp_client_telemetry
Issues semelhantes
-
Weekly fuzz run failedAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
AFLplusplus/AFLplusplus#2903 ·
-
Clean up stale and inaccurate comments in the platform screen and input filesTalvez já em andamento @RichStephens assumiu hoje. Aberta
Dificuldade 2/5 Meio dia Facilidade para iniciantes 88/100
FujiNetWIFI/fujinet-config#289 ·
Mantenedores costumam responder em até 1 dia
-
[raylib] update to 6.2Abertacategory:port-update
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
nasa/cFS-GroundSystem#272 ·