Hello
I’ve spent a pretty significant time trying to get a web server project to compile on Windows.
It uses ocaml-tls, http/af, ocaml-h2 and ocaml-jwt which have proven to be quite difficult.
The last step that I’ve worked on the last few days is to get nocrypto to work on Windows.
I opened this PR to the nocrypto project that is a initially working version. I know that the code can’t be merged in its current state but at least it’s out there for discussion.
With these changes I have a project that in theory can serve web pages over https, but since I’m using ocaml-h2 eliptic curves are needed in ocaml-tls before I can use that all the way.
If anyone is interested this is the project that I’m working on while doing this. I’m using the esy package manager and the Windows-specific stuff is in windows.json which basically extends the esy.json.
I’ll start a move to ocaml-ssl of the project but will still need nocrypto for jwt. I am however doing Windows support mostly for fun and to unlock more developers to find these amazing languages so I’m not in anyway blocked by this.