arenadotio / sentry-ocaml

A work-in-progress OCaml client for Sentry
The Unlicense
26 stars 5 forks source link

Always drain Cohttp response body #29

Closed brendanlong closed 4 years ago

brendanlong commented 4 years ago

Cohttp doesn't close connections until we finish reading the body so this was causing a connection leak on error or redirect.