actix / actix/actix-web

support permessage-deflate compression extension

Aperta
#1,635 2 commenti 8 reazioni 0 assegnatari Vedi su GitHub
C-feature websockets
Lingua principale
Rust
Stelle
24.8k
Fork
1.9k
Merge medio
23h 10m
PR unite (30g)
26

Descrizione

## Expected Behavior

"Per-message compression" has been adopted in many places, like Tomcat websocket. In order to leverage this, I hope websocket in actix-http and awc can support this extension by default.
Due to current actix-http architecture, it's too hard to implement this in my code.

## Current Behavior

## Possible Solution

[https://github.com/housleyjk/ws-rs/blob/master/src/deflate/extension.rs](https://github.com/housleyjk/ws-rs/blob/master/src/deflate/extension.rs)
From above link, you can find a reference implementation for Rust.

RFC reference: https://tools.ietf.org/html/rfc7692

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.