<-- back to the mailing list

Debugging Help

Jonathan Lamothe jonathan at jlamothe.net

Fri Nov 26 02:55:28 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Hey all,

As I've mentioned before, I've been working on a Gemini server framework for Haskell.

I've got the basic framework finished, but there's one bug that I'm just beating my head against a wall trying to sort out. For whatever reason, when the client sends a certificate, it isn't being passed to the handler.

If there are any Haskellers here (particularly any who have experience with the tls and/or tcp-streams packages) any assistance would be appreciated.

The code itself is at: https://codeberg.org/jlamothe/gemcap

There's an open issue at: https://codeberg.org/jlamothe/gemcap/issues/1

...and finally, the branch where I'm working on it is the certfix branch.

Functions that are likely of particular interest are:* runGemCapsule* listenLoop* adjustServerParams

These can all be found in src/Network/Gemini/Capsule.hs

-- Regards,Jonathan Lamothe-------------- next part --------------A non-text attachment was scrubbed...Name: signature.ascType: application/pgp-signatureSize: 833 bytesDesc: not availableURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20211126/bcc24a8e/attachment.sig>