actix / actix/actix-web

Modify WebSocket continuation support to not expose Continuations at Message-level

Aperta
#1,350 5 commenti 10 reazioni 0 assegnatari Vedi su GitHub
A-http A-web-actors C-improvement
Lingua principale
Rust
Stelle
24.8k
Fork
1.9k
Merge medio
23h 10m
PR unite (30g)
26

Descrizione

Right now the WebSocket implementation, while it does support continuation frames, does nothing to combine those frames together into single messages, making it somewhat difficult to use the library. (This is especially important because, as noted [in the former WS continuation issue](https://github.com/actix/actix-web/issues/916), Chrome uses continuations all the time.)

I think the intent of the WebSocket RFC is for you to not need to worry about continuations at the message level, so the `Message` struct probably shouldn't include them.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.