actix / actix/actix-web

Compression Server Sent Events

Aperta
#3,032 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
24.8k
Fork
1.9k
Merge medio
23h 10m
PR unite (30g)
26

Descrizione

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

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.