package gluten-async

  1. Overview
  2. Docs
Async support for gluten

Install

Dune Dependency

Authors

Maintainers

Sources

gluten-0.5.0.tbz
sha256=98629b6d048f30eba6502b71ac076806de72d91ae401fe7cb29914ca64d88583
sha512=d60a4470f4de1c6e8163282d64b77db7cdf41ac605eb191d6bb3062f9375f6dc85b069bfaac6f6354ce4d199593b4914455a448a8d05e3cb22fa3551a0623715

CHANGES.md.html

0.5.0 2023-10-25

  • gluten-eio: require ~sw:Eio.Switch.t argument and fail the switch when loop raises an exception (#61)

  • gluten-eio: handle peer disconnects (#60)

  • gluten: replace Gluten.Buffer implementation and drop the Ke dependency (#67)

  • gluten-eio: adapt to Eio v0.12 (#66

  • gluten-eio: don't fail switches in the I/O loop(#70

  • gluten-eio: open up #Eio.Flow.two_way (#62

  • gluten-async: async-tls compilation error when using tls-async package (#63)

  • gluten-eio, gluten-async, gluten-lwt, gluten-lwt-unix: refactor: unwrap Gluten.Buffer.put in favor of exceptions (#58)

0.4.1 2023-03-16

  • gluten-lwt-unix: require tls-lwt >= 0.16 (#53)

  • gluten-eio: adapt to Eio.Io errors (#54)

  • gluten-eio: return a Eio.Promise.t from Gluten_eio.Client.shutdown (f8b88c485)

0.4.0 2023-02-11

  • gluten-eio: Add gluten-eio package, a gluten backend for eio (#35)

  • gluten-async: Allow connecting to a UNIX domain socket (#40)

  • gluten-async: Fix memory leak in the SSL / TLS implementations (#48)

0.3.0 2022-08-08

  • gluten-lwt, gluten-lwt-unix: in the OpenSSL backend, select the ALPN protocol properly (#20)

  • Make (select ...) compatible with Dune 2.0 (#21)

  • Adapt to newer conduit versions by removing Server_with_conduit (#22)

  • gluten-async: Depend on core and async >= v.0.15.0 (#30)

  • gluten-async: Add tls-async I/O support on the client (#31)

  • gluten-mirage: Fix read and writev (#32):

    • read now respects the length parameter of the receiving buffer and buffers extra bytes until the next time read is called

    • writev now copies the underlying IOVecs, as Flow.writev takes ownership of the buffers, which can't be reused

0.2.1 2020-05-16

  • gluten-lwt, gluten-async, gluten-lwt-unix, gluten-mirage: never call shutdown with SHUTDOWN_SEND. This is especially important on the client, where sending a FIN packet might cause the other end to shutdown the connection without sending back a response (#10)

0.2.1 2020-05-16

  • gluten-mirage: Add a Mirage runtime (#5)

  • gluten: Remove dependency on httpaf (#6)

  • gluten-lwt-unix: Allow configuring accepted ALPN protocols in the SSL / TLS runtimes (#7)

  • gluten-async: Add an Async runtime (#8)

0.2.0 2020-04-29

  • gluten-lwt: Refactor the runtime to reuse more code (#3)

  • gluten, gluten-lwt: Change the API, support runtimes that aren't upgradable (#4)

0.1.0 2020-04-27

  • Initial public release

OCaml

Innovation. Community. Security.