actix / actix/actix-web

Support Client initiated Cancellation Propagation

Aberta
#3,029 0 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
24.8k
Forks
1.9k
Merge médio
23h 10min
PRs com merge (30d)
26

Descrição

Linking to the discussion, which contains the meat of the issue.

https://github.com/actix/actix-web/discussions/3011

Likewise, I'm aware of the difficult nature of this ask given the statelessness of the http protocol...

I believe Go handles this by polling the connection status internally and watching for CLOSE so that these events are propagated up.

Given actix-web positions itself as a higher level abstraction, we should also be able to have these events propagated up or that the very least the green-thread/connection needs to be exposed such that user can poll themselves.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Read the linked discussion #3011 first, since the issue says it contains the substantive requirements. Identify the relevant Actix Web request or connection entry points from that discussion and define done as client disconnect or cancellation being propagated upward, or the connection being exposed for polling; the payload names no files or tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
rust
Domínio
api, backend, networking
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.