anmonteiro / anmonteiro/httpun

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

Abierto
#155 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
OCaml
Estrellas
63
Forks
13
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.