Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL support #11

Open
zacharycarter opened this issue Sep 4, 2018 · 3 comments
Open

SSL support #11

zacharycarter opened this issue Sep 4, 2018 · 3 comments

Comments

@zacharycarter
Copy link

Not sure if this is possible or not - but a community member recently asked about httpbeast | ssl, so I threw together a quick example to test the scenario - https://gist.github.com/zacharycarter/92c38941845c05b8b0479a6c4cedc11f

The request just hangs indefinitely - so I added a timeout.

Is SSL support possible for httpbeast?

@2vg
Copy link

2vg commented Sep 4, 2018

can easily support SSL with just a little code addition on httpbeast.
example, I already support SSL with https://github.com/2vg/mofuw/blob/master/tests/SSLapp/app.nim.
However, please be aware that there is a bug in the context creation of the net module, and only TLSv1.0 is supported.

@dom96
Copy link
Owner

dom96 commented Sep 4, 2018

Sure, SSL support should be fairly easy.

@zacharycarter
Copy link
Author

Someone was asking about this in #nim so I will forward along the good news - and if he doesn't have time to PR it I will once I finish the frontend lib I'm building / start working on the new iteration of the playground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants