actix / actix/actix-web

support permessage-deflate compression extension

Abierto
#1,635 2 comentarios 8 reacciones 0 asignados Ver en GitHub
C-feature websockets
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

## 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.