anmonteiro / anmonteiro/httpun

Httpun.Body.Writer.flush hangs on closed client connection (httpun-eio)

Aperta
#155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
OCaml
Stelle
63
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When

* using `httpun-eio`
* and `Httpun.Reqd.respond_with_streaming`
* and the client closes the connection prematurely

then

* the call to `Httpun.Body.Writer.flush` never calls the provided callback.

The expected behavior would be that `Httpun.Body.Writer.flush` calls its callback with the `Closed parameter.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.