actix / actix/actix-web

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

Offen
#1,350 5 Kommentare 10 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
A-http A-web-actors C-improvement
Vorherrschende Sprache
Rust
Sterne
24.8k
Forks
1.9k
Ø Merge
23 Std. 10 Min.
Gemergte PRs (30 T.)
26

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.