anmonteiro / anmonteiro/httpun

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

Offen
#155 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
OCaml
Sterne
63
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.