c++httpsboost-asiocpp-netlib

Https server with cpp-netlib


How can one use cpp-netlib to implement a HTTPS-server?

The following questions stop me from combining asio SSL and cpp-netlib:


Solution

  • The most recent release of cpp-netlib contains a working example. You'll find it in cpp-netlib-0.11.1RC2/libs/network/example/http/ssl. The github files are there: https://github.com/cpp-netlib/cpp-netlib/tree/0.11-devel/libs/network/example/http/ssl

    You have to use an async_server.