Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] hpack, h2, h2-mirage, h2-lwt, h2-lwt-unix and h2-async (0.9.0) #21983

Merged
merged 3 commits into from Aug 15, 2022

Conversation

anmonteiro
Copy link
Contributor

An HPACK (Header Compression for HTTP/2) implementation in OCaml

CHANGES:

…(0.9.0)

CHANGES:

- h2: Fix tests on 32-bit platforms
  ([anmonteiro/ocaml-h2#152](anmonteiro/ocaml-h2#152))
- h2-mirage: adapt to Conduit v4 and remove `H2_mirage.Server_with_conduit`
  ([anmonteiro/ocaml-h2#154](anmonteiro/ocaml-h2#154))
- h2: fix memory leaks related to trailer headers in the server and client
  implementations ([anmonteiro/ocaml-h2#159](anmonteiro/ocaml-h2#159)
  (thanks [@quernd](https://github.com/quernd)!),
  [anmonteiro/ocaml-h2#160](anmonteiro/ocaml-h2#160))
- h2: allow configuring `flush_headers_immediately` on the client and default
  to `false`. This means that h2 will wait for the first request body bytes to
  be scheduled and batch `HEADERS` and `DATA` frames when sending requests
  ([anmonteiro/ocaml-h2#163](anmonteiro/ocaml-h2#163),
  [anmonteiro/ocaml-h2#164](anmonteiro/ocaml-h2#164))
- h2: Split `Body.t` into `Body.Writer.t` and `Body.Reader.t`
  ([anmonteiro/ocaml-h2#165](anmonteiro/ocaml-h2#165))
- h2: OCaml 5.00 compatibility -- add `seeded_hash` to `scheduler.ml`
  ([anmonteiro/ocaml-h2#168](anmonteiro/ocaml-h2#168))
- h2: Use a tail-recursive version of `Angstrom.skip_many`. Fixes a memory leak
  in long-running connections e.g. gRPC
  ([anmonteiro/ocaml-h2#172](anmonteiro/ocaml-h2#172))
- h2-async: Add an OCaml-TLS client to `h2-async`
  ([anmonteiro/ocaml-h2#174](anmonteiro/ocaml-h2#174))
- h2: Fix a bug that caused different requests to share the same headers buffer
  under concurrency ([anmonteiro/ocaml-h2#182](anmonteiro/ocaml-h2#182))
@anmonteiro
Copy link
Contributor Author

I see some revdep failures. I'll open a PR adding upper bounds to those in a bit.

@anmonteiro
Copy link
Contributor Author

Added in #21984

@kit-ty-kate kit-ty-kate merged commit 297366c into ocaml:master Aug 15, 2022
@kit-ty-kate
Copy link
Member

Thanks! Could you return the fix to the hpack opam file in the repository upstream so that it can be taken into account for next time?

Also, I removed h2-async from this release as it can't be compiled. Please reopen a new PR for this particular package when it is able to be compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants