package gluten

  1. Overview
  2. Docs
A reusable runtime library for network protocols

Install

Dune Dependency

Authors

Maintainers

Sources

gluten-0.5.2.tbz
sha256=b1eed89f9f6080bb4bd289cc8d252c6bcf01f03d395726e66fa6067207e7015f
sha512=105e549d5ff83c43be6ab5e71ec1c19b27140a279002f04e02792e778f9e75deaecf4251324e6273e43039e38572b45ea236626b3afa7ef5c3c72baa3002c129

CHANGES.md.html

0.5.2 2024-09-04

  • gluten-async: Silence async deprecation warnings ([#78)(https://github.com/anmonteiro/gluten/pull/78))

  • migrate to tls 1.0.0 without cstruct (#80)

0.5.1 2024-06-04

  • gluten-lwt,gluten-eio: remove Client.socket (#75)

  • gluten-eio: don't require Eio_unix.stream_socket_ty, allowing the use of mock sockets (#74)

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.