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


Archive home | About this archive