Skip to content

Fix dream mirage - #393

Merged
Willenbrink merged 6 commits into
camlworks:masterfrom
Willenbrink:fix-dream-mirage
Feb 20, 2026
Merged

Fix dream mirage#393
Willenbrink merged 6 commits into
camlworks:masterfrom
Willenbrink:fix-dream-mirage

Conversation

@Willenbrink

@Willenbrink Willenbrink commented May 17, 2025

Copy link
Copy Markdown
Collaborator

Fix the dream-mirage package so that it works with the latest version of Mirage.

This required replacing the vendored libraries by the upstream versions and replacing httpaf with h1. In theory httpun could also be used.

This is a bit unfortunate as dream itself uses Httpun currently and dream-mirage h1. I think we should switch dream to h1 as it seems to be more actively supported but that would be too big a change for this PR.

Comment thread src/http/adapt.ml Outdated
@aantron

aantron commented Aug 14, 2025

Copy link
Copy Markdown
Collaborator

How do h1 and httpun relate to each other?

@hannesm

hannesm commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

How do h1 and httpun relate to each other?

The question was asked in robur-coop/ocaml-h1#12 and anmonteiro/httpun#153 -- while AFAICT h1 supports websockets as well (in contrast to the reply in httpun issue).

@Willenbrink
Willenbrink marked this pull request as ready for review September 5, 2025 19:43
Comment thread dream.opam Outdated
Comment thread .github/workflows/test.yml
Comment thread src/server/dune Outdated
@yawaramin yawaramin removed this from the 1.0.0~alpha9 milestone Jan 14, 2026
@Willenbrink
Willenbrink force-pushed the fix-dream-mirage branch 3 times, most recently from 1522ef4 to e205042 Compare February 6, 2026 10:35
@Willenbrink
Willenbrink requested a review from yawaramin February 6, 2026 10:38
@Willenbrink
Willenbrink merged commit 638ac87 into camlworks:master Feb 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants