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

Readme error #16

Open
NumeroQuatre opened this issue Mar 2, 2022 · 0 comments
Open

Readme error #16

NumeroQuatre opened this issue Mar 2, 2022 · 0 comments

Comments

@NumeroQuatre
Copy link

I found some code not working on 1.3.0

auto config = oatpp::libressl::Config::createDefaultServerConfig(pemFile, crtFile);
auto connectionProvider = oatpp::libressl::server::ConnectionProvider::createShared(config, 8443);

However, the code in libressl-example looks to works fine.

auto config = oatpp::libressl::Config::createDefaultServerConfigShared(pemFile, crtFile /* private key */);
auto connectionProvider = oatpp::libressl::server::ConnectionProvider::createShared(config, {"0.0.0.0", 8443, oatpp::network::Address::IP_4});

It is either something I don't understand, or something not updated from previous versions

Sincerely,

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

No branches or pull requests

1 participant