Simplify SSL parameters setup
commit337730ddefa52d5a826b7778989ea6bd0643b070
authorChocobo1 <Chocobo1@users.noreply.github.com>
Mon, 21 Oct 2024 07:51:01 +0000 (21 15:51 +0800)
committerChocobo1 <Chocobo1@users.noreply.github.com>
Mon, 21 Oct 2024 08:22:45 +0000 (21 16:22 +0800)
tree5405dd8fed93fe8cb4af5eeba354837d3a4dab5e
parent25dbea1388d69da405db320b0e10257e98007c5b
Simplify SSL parameters setup

Simplify code by utilizing QSslConfiguration object.
Also don't mess with global default value via `QSslConfiguration::setDefaultConfiguration`. It
should not be done at such local class.
src/base/http/server.cpp
src/base/http/server.h