Skip to content

Upgrade the codebase to use paf-le-chien instead of CoHTTP#3

Open
dinosaure wants to merge 4 commits into
yomimono:mainfrom
dinosaure:upgrade-and-use-paf
Open

Upgrade the codebase to use paf-le-chien instead of CoHTTP#3
dinosaure wants to merge 4 commits into
yomimono:mainfrom
dinosaure:upgrade-and-use-paf

Conversation

@dinosaure
Copy link
Copy Markdown

@dinosaure dinosaure commented Apr 25, 2022

This PR wants to upgrade your unikernel with paf-le-chien which integrates stuffs required for Let's encrypt challenges. We already did some benchmarks with unipi and it seems that paf is better about performances. I took the opportunity to upgrade the POST request to send a multipart/form request instead of an URL-encoded request - you can check multipart_form for that.

Of course, the code use http/af and I added a new argument to be able to launch a simple HTTP server (without certificates). It's a draft and this PR will be improve after the integration of mirage/mirage#1300 and some tests on my side.

@dinosaure
Copy link
Copy Markdown
Author

This PR needs yomimono/chamelon#5 to works.

@dinosaure dinosaure marked this pull request as ready for review April 28, 2022 14:33
@dinosaure
Copy link
Copy Markdown
Author

Currently, this version is running here: https://url.osau.re/ (the certificate is a fake one - I got some trouble with contruno but it's an orthogonal problem).

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.

1 participant