Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

HTTPS support #19

Open
aaalgo opened this issue Nov 21, 2016 · 6 comments
Open

HTTPS support #19

aaalgo opened this issue Nov 21, 2016 · 6 comments

Comments

@aaalgo
Copy link

aaalgo commented Nov 21, 2016

Is HTTPS support planned? Boost::asio supports SSL, so it seems to me HTTPS is not really out of reach.

@aaalgo
Copy link
Author

aaalgo commented Nov 21, 2016

A little web search leads to https://github.com/eidheim/Simple-Web-Server , which is a similar project with HTTPS support. It's implemented by having socket_type as a template parameter.

@xoox
Copy link

xoox commented Dec 21, 2016

I met Simple-Web-Server and then served
served is more attractive for me, because of its more higher level APIs.
That's great for developers who know little about HTTP protocol details and want just a quick integration of REST web API.
But served development seems not quite active. That's another concern.

@aaalgo
Copy link
Author

aaalgo commented Dec 21, 2016

I recently had a problem serving large images with served. The problem disappeared after I switched to Simple-Web-Server, so I didn't botther to debug. I agree that the API of Simple-Web-Server is of a lower level. I've coded up a little wrapper for it. https://github.com/aaalgo/Simple-Web-Extra

@xoox
Copy link

xoox commented Dec 21, 2016

A wrapper is great.
What size of your picture and the type?
I'm going to server RGB png pictures of 2592 x 1944, maybe the same issue would be encountered.
Have you open a detailed issue about the large images serving?
Maybe it can be fixed.

@kiyoMatsui
Copy link

Why not just run served behind a nginx reverse proxy? All in nice docker containers to boot.

@makkarpov
Copy link

+1 for feature.

Embedded SSL support would be great for service-to-service communication.

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

No branches or pull requests

5 participants