actix / actix/actix-web

support permessage-deflate compression extension

Open
#1,635 2 comments 8 reactions 0 assignees View on GitHub
C-feature websockets
Dominant language
Rust
Stars
24.8k
Forks
1.9k
Avg merge
23h 10m
Merged PRs (30d)
26

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.