Added client verification when a verify file is passed to Server<HTTPS>. Also sets session_id_context for session reuse. See #89
This commit is contained in:
parent
8fa7de4a2b
commit
7a97f8218d
2 changed files with 20 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ namespace SimpleWeb {
|
|||
std::function<void(std::shared_ptr<typename ServerBase<socket_type>::Response>, std::shared_ptr<typename ServerBase<socket_type>::Request>)> > > > > opt_resource;
|
||||
|
||||
public:
|
||||
void start() {
|
||||
virtual void start() {
|
||||
//Copy the resources to opt_resource for more efficient request processing
|
||||
opt_resource.clear();
|
||||
for(auto& res: resource) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue