fix(ssl): enable partial write on SSL context

This patch enables the partial write mode on the SSL server context,
giving us "normal" behavior on non-blocking sockets.
Signed-off-by: default avatarLouis Solofrizzo <lsolofrizzo@scaleway.com>
parent de68bc3d
......@@ -138,6 +138,7 @@ namespace Pistache::Tcp
throw std::runtime_error(err);
}
SSL_CTX_set_mode(GetSSLContext(ctx), SSL_MODE_ENABLE_PARTIAL_WRITE);
return ctx;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment