actix / actix/actix-web

Support Client initiated Cancellation Propagation

Aperta
#3,029 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
24.8k
Fork
1.9k
Merge medio
23h 10m
PR unite (30g)
26

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
api, backend, networking
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.