actix / actix/actix-web

support permessage-deflate compression extension

Đang mở
#1,635 2 bình luận 8 reaction 0 người được giao Xem trên GitHub
C-feature websockets
Ngôn ngữ chính
Rust
Star
24.8k
Fork
1.9k
Merge trung bình
23 giờ 10 phút
Pull request đã merge (30 ngày)
26

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.