actix / actix/actix-web

Compression Server Sent Events

Abierto
#3,032 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

When use Compression on SSE and the stream is slow or have time gaps, then nothing is written to the output stream. Also no keep-alives. As far I can see the internal buffer is only writing when the buffer is full for compression.

## Expected Behavior
Writing to the output when something on is received.

## Current Behavior
The stream elements are only written when the buffer is full. This can lead to have no data on the output for minutes.

## Possible Solution
Writing additional to the output when a certain (configurable) time is gone. And not only when the buffer is full

- Actix Web Version: 4.3.1

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.