You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{!unit Lwt.t} is resolved. The connection can be closed by closing the
{!IO.ic}. *)
is not anymore the way to go and the comment needs an update or we need a way to do the recommended action :-)
Note that in any case, this introduce a breaking change as existing code using cohttp.5 has some Lwt_io.close ic that doesn't type anymore. (Discovered by testing the compatibility of https://gitlab.com/nomadic-labs/resto with cohttp.6)
The text was updated successfully, but these errors were encountered:
Type
Cohttp.S.IO.ic
is now abstract and (as far as I can see) there is no function provided to "close" one. Therefore eitherocaml-cohttp/cohttp-lwt/src/s.ml
Lines 293 to 294 in de39002
is not anymore the way to go and the comment needs an update or we need a way to do the recommended action :-)
Note that in any case, this introduce a breaking change as existing code using cohttp.5 has some
Lwt_io.close ic
that doesn't type anymore. (Discovered by testing the compatibility of https://gitlab.com/nomadic-labs/resto with cohttp.6)The text was updated successfully, but these errors were encountered: